mirror of
https://github.com/apple/pkl.git
synced 2026-03-25 02:21:11 +01:00
Apply spotless formatting
This commit is contained in:
@@ -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