Skip to content

Commit

Permalink
Refactor broken flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jennyEckstein committed Mar 22, 2021
1 parent f6de1b8 commit 804f3a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/lifion-verify-deps.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if (argv.help) {
'',
'Options:',
'--help Display this help message and exit',
'-pre --pre-release Include pre-release dependencies',
'-p --pre-release Include pre-release dependencies',
'-u --auto-upgrade Automatically run all suggested upgrades'
].join('\n')
);
Expand All @@ -26,7 +26,7 @@ if (argv.help) {

async function run() {
const autoUpgrade = argv['auto-upgrade'] || argv.u;
const includePreReleaseDependencies = argv['pre-release'] || argv.pre;
const includePreReleaseDependencies = argv['pre-release'] || argv.p;
try {
await verifyDeps({ autoUpgrade, dir: process.cwd(), includePreReleaseDependencies });
process.exit(0);
Expand Down

0 comments on commit 804f3a4

Please sign in to comment.