mirror of
https://github.com/deployphp/action.git
synced 2024-11-23 12:29:03 +00:00
corrected exclamation mark (#69)
This commit is contained in:
parent
26fe6d39eb
commit
06aeb295d6
2
index.js
2
index.js
@ -120,10 +120,10 @@ async function dep() {
|
|||||||
for (let [key, value] in Object.entries(JSON.parse(optionsArg))) {
|
for (let [key, value] in Object.entries(JSON.parse(optionsArg))) {
|
||||||
options.push('-o', `${key}=${value}`)
|
options.push('-o', `${key}=${value}`)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error('Invalid JSON in options')
|
console.error('Invalid JSON in options')
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await $`php ${dep} ${cmd} ${recipe} --no-interaction ${ansi} ${verbosity} ${options}`
|
await $`php ${dep} ${cmd} ${recipe} --no-interaction ${ansi} ${verbosity} ${options}`
|
||||||
|
Loading…
Reference in New Issue
Block a user