Skip to content

Commit

Permalink
Fix coercion of reporter options
Browse files Browse the repository at this point in the history
Closes #210
  • Loading branch information
inukshuk committed Apr 2, 2024
1 parent 7371a6b commit 8fa196b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ exports.builder = yargs => {

exports.handler = async argv => {
try {
argv.reporterOption = argv['reporter-option']

if (argv['require-main']) {
await helpers.handleLegacyRequires(argv['require-main'])
}
Expand Down

0 comments on commit 8fa196b

Please sign in to comment.