Skip to content

Commit

Permalink
fix: avoid different result depending on option arguments position (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tatomyr committed May 18, 2023
1 parent fe40578 commit 2079ea6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const version = require('../package.json').version;
yargs
.version('version', 'Show version number.', version)
.help('help', 'Show help.')
.parserConfiguration({ 'greedy-arrays': false })
.command(
'stats [api]',
'Gathering statistics for a document.',
Expand Down

1 comment on commit 2079ea6

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements 74.19% 3495/4711
🟡 Branches 65.04% 1981/3046
🟡 Functions 66.48% 587/883
🟡 Lines 74.24% 3253/4382

Test suite run success

585 tests passing in 85 suites.

Report generated by 🧪jest coverage report action from 2079ea6

Please sign in to comment.