mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
Apply spotless formatting
This commit is contained in:
@@ -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) ->
|
||||
|
||||
@@ -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 != "'")
|
||||
|
||||
Reference in New Issue
Block a user