[skip ci] fix :: new line missing
This commit is contained in:
parent
8060f6d532
commit
cc25f7aa8c
2 changed files with 2 additions and 2 deletions
src/main
kotlin/org/domaindrivenarchitecture/provs/framework/ubuntu/filesystem/base
resources
|
@ -240,7 +240,7 @@ fun Prov.addTextToFile(
|
||||||
return@taskWithResult ProvResult(true, out = "Text already in file")
|
return@taskWithResult ProvResult(true, out = "Text already in file")
|
||||||
}
|
}
|
||||||
cmd(
|
cmd(
|
||||||
"printf '%s' " + text
|
"printf '%s' " + "${text + "\n"}"
|
||||||
.escapeAndEncloseByDoubleQuoteForShell() + " | ${sudoAsText(sudo)} tee -a ${file.path} > /dev/null"
|
.escapeAndEncloseByDoubleQuoteForShell() + " | ${sudoAsText(sudo)} tee -a ${file.path} > /dev/null"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
0.39.9-SNAPSHOT
|
0.40.1-SNAPSHOT
|
Loading…
Reference in a new issue