corrected exclamation mark

This commit is contained in:
jan-tricks 2023-06-22 12:55:45 +02:00 committed by GitHub
parent 26fe6d39eb
commit f9ab46bb0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}`