mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2024-11-22 15:32:18 +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]
|
let cmd = ["ansible-playbook", playbook]
|
||||||
|
|
||||||
if (options) {
|
if (options) {
|
||||||
cmd.push(options.replace("\n", " "))
|
cmd.push(options.replace(/\n/g, " "))
|
||||||
}
|
}
|
||||||
|
|
||||||
if (directory) {
|
if (directory) {
|
||||||
|
|
Loading…
Reference in a new issue