Skip to content

Commit

Permalink
corrected exclamation mark (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-tricks authored Jun 22, 2023
1 parent 26fe6d3 commit 06aeb29
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,13 @@ async function dep() {
try {
let optionsArg = core.getInput('options')
if (optionsArg !== '') {
for (let [key, value] in Object.entries(JSON.parse(optionsArg))) {
options.push('-o', `${key}=${value}`)
}
} catch (e) {
console.error('Invalid JSON in options')
for (let [key, value] in Object.entries(JSON.parse(optionsArg))) {
options.push('-o', `${key}=${value}`)
}
}
} catch (e) {
console.error('Invalid JSON in options')
}

try {
await $`php ${dep} ${cmd} ${recipe} --no-interaction ${ansi} ${verbosity} ${options}`
Expand Down

0 comments on commit 06aeb29

Please sign in to comment.