main: replace all newlines

This commit is contained in:
Dawid Dziurla
2020-05-03 12:50:24 +02:00
parent 013642b2f2
commit c667c001c3

View File

@@ -16,7 +16,7 @@ async function main() {
let cmd = ["ansible-playbook", playbook]
if (options) {
cmd.push(options.replace("\n", " "))
cmd.push(options.replace(/\n/g, " "))
}
if (directory) {