Skip to content

Commit

Permalink
allow no filter
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed Sep 16, 2024
1 parent 36a52bf commit 383d876
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/command-runner/test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ module.exports = async ({ github, core, context, commentId, exec, command, args
const Comment = require('./comment.cjs')
const comment = new Comment({ github, context, commentId })

if (!args) {
core.error('Need to specify which tests to run')
return comment.createOrUpdateComment(` Need to specify which tests to run`)
}

const execCommand = `yarn update-known-good && yarn test --reporter tap-flat ${command === 'update' ? '-u' : ''} ${args.trim()}`

await comment.createOrUpdateComment(`Running: \`${execCommand}\``)
Expand Down

0 comments on commit 383d876

Please sign in to comment.