Apply spotless formatting
This commit is contained in:
1 parent
4d70baba86
commit
4c13952b64
2 files changed
+4
-2
No files matched your search
+2
-1
@@ -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