mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2024-12-23 04:37:29 +00:00
main: replace all newlines
This commit is contained in:
parent
013642b2f2
commit
c667c001c3
1 changed files with 1 additions and 1 deletions
2
main.js
2
main.js
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue