main: replace all newlines

This commit is contained in:
Dawid Dziurla 2020-05-03 12:50:24 +02:00
parent 013642b2f2
commit c667c001c3
No known key found for this signature in database
GPG Key ID: 7B6D8368172E9B0B

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) {