[skip ci] fix :: new line missing

This commit is contained in:
zam 2025-02-18 09:23:08 +01:00
parent 8060f6d532
commit cc25f7aa8c
2 changed files with 2 additions and 2 deletions
src/main
kotlin/org/domaindrivenarchitecture/provs/framework/ubuntu/filesystem/base
resources

View file

@ -240,7 +240,7 @@ fun Prov.addTextToFile(
return@taskWithResult ProvResult(true, out = "Text already in file")
}
cmd(
"printf '%s' " + text
"printf '%s' " + "${text + "\n"}"
.escapeAndEncloseByDoubleQuoteForShell() + " | ${sudoAsText(sudo)} tee -a ${file.path} > /dev/null"
)
}

View file

@ -1 +1 @@
0.39.9-SNAPSHOT
0.40.1-SNAPSHOT