Skip to content

Commit

Permalink
fix: better quote
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Nov 13, 2019
1 parent 22f7a76 commit 4b26286
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1338,12 +1338,12 @@ const runTests = () => {
}`
cmd.push(`--parallel`)
cmd.push('--ci-build-id')
cmd.push(`"${parallelId}"`)
cmd.push(quote(parallelId))
}
const group = core.getInput('group')
if (group) {
cmd.push('--group')
cmd.push(`"${group}"`)
cmd.push(quote(group))
}
console.log('Cypress test command: npx %s', cmd.join(' '))

Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,12 @@ const runTests = () => {
}`
cmd.push(`--parallel`)
cmd.push('--ci-build-id')
cmd.push(`"${parallelId}"`)
cmd.push(quote(parallelId))
}
const group = core.getInput('group')
if (group) {
cmd.push('--group')
cmd.push(`"${group}"`)
cmd.push(quote(group))
}
console.log('Cypress test command: npx %s', cmd.join(' '))

Expand Down

0 comments on commit 4b26286

Please sign in to comment.