mirror of
https://github.com/deployphp/action.git
synced 2025-06-28 20:24:14 +00:00
Fix argv split
This commit is contained in:
parent
97c09aab21
commit
cc5f2d19c6
3 changed files with 8 additions and 1 deletions
3
index.js
3
index.js
|
@ -1,6 +1,7 @@
|
|||
const core = require('@actions/core')
|
||||
const fs = require('fs')
|
||||
const execa = require('execa')
|
||||
const split = require('argv-split')
|
||||
|
||||
void function main() {
|
||||
try {
|
||||
|
@ -45,5 +46,5 @@ function dep() {
|
|||
dep = 'deployer.phar'
|
||||
}
|
||||
|
||||
execa.commandSync(`${dep} ${core.getInput('dep')}`)
|
||||
execa.sync(dep, split(core.getInput('dep')))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue