Skip to content

Commit

Permalink
fix increment-version (facebook#3306)
Browse files Browse the repository at this point in the history
  • Loading branch information
acywatson authored Nov 2, 2022
1 parent 61be33d commit a171600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/npm/increment-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

const {exec} = require('child-process-promise');
const argv = require('minimist')(process.argv.slice(2));
const increment = argv._[0];
const increment = argv.i;
const validIncrements = new Set(['minor', 'patch', 'prerelease']);
if (!validIncrements.has(increment)) {
console.error(`Invalid value for increment: ${increment}`);
Expand Down

0 comments on commit a171600

Please sign in to comment.