diff --git a/stdlib/semver.pkl b/stdlib/semver.pkl index ccf04cd9..2d60f8ce 100644 --- a/stdlib/semver.pkl +++ b/stdlib/semver.pkl @@ -200,7 +200,8 @@ class Version { else if (preRelease == other.preRelease) false else - let (result = + let ( + result = preReleaseIdentifiers .zip(other.preReleaseIdentifiers) .fold(null, (result, next) -> diff --git a/stdlib/shell.pkl b/stdlib/shell.pkl index 0650fcc3..c38fd7e1 100644 --- a/stdlib/shell.pkl +++ b/stdlib/shell.pkl @@ -22,7 +22,8 @@ module pkl.shell /// /// Also handles single quotes occurring within [str]. function escapeWithSingleQuotes(str: String): String = - let (processChar = (acc, ch) -> + let ( + processChar = (acc, ch) -> if (acc.isEmpty) List(List(ch)) else if (acc.last.last != "'" && ch != "'")