Skip to content

Commit

Permalink
main: replace all newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidd6 committed May 3, 2020
1 parent 013642b commit c667c00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c667c00

Please sign in to comment.