corrected exclamation mark (#69)

This commit is contained in:
jan-tricks 2023-06-22 13:20:39 +02:00 committed by GitHub
parent 26fe6d39eb
commit 06aeb295d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -117,13 +117,13 @@ async function dep() {
try { try {
let optionsArg = core.getInput('options') let optionsArg = core.getInput('options')
if (optionsArg !== '') { if (optionsArg !== '') {
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) {
console.error('Invalid JSON in options')
} }
} }
} catch (e) {
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}`