Skip to content

Commit

Permalink
Explicitly configure script name for CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
mcecode committed Mar 1, 2023
1 parent 38593a7 commit 1c56764
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/cli.js
Expand Up @@ -140,6 +140,7 @@ export default async function loadCli() { // eslint-disable-line complexity

let resetCache = false;
const {argv} = yargs(hideBin(process.argv))
.scriptName('ava')
.version(pkg.version)
.parserConfiguration({
'boolean-negation': true,
Expand Down

0 comments on commit 1c56764

Please sign in to comment.