Apply spotless formatting

This commit is contained in:
Dan Chao
2025-11-03 12:01:35 -08:00
committed by Jen Basch
parent 8c82051a4b
commit 687ce0f97b
2 changed files with 4 additions and 2 deletions

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