Apply spotless formatting

This commit is contained in:
Dan Chao
2025-11-03 12:01:35 -08:00
committed by Daniel Chao
parent 4d70baba86
commit 4c13952b64
2 changed files with 4 additions and 2 deletions

View File

@@ -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) ->

View File

@@ -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 != "'")