Skip to content

Commit 3fdd7fa

Browse files
spikegrobsteinnexdrew
authored andcommitted
fix: use the skip default value for skip cli arg (#211)
Even though the defaults for both `skip` and `scripts` were empty objects, the code was referencing the default value for `scripts` in both places, which could lead to a bug in the future if the default for either changed at some point in the future.
1 parent 709dae1 commit 3fdd7fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

command.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ module.exports = require('yargs')
6565
})
6666
.option('skip', {
6767
describe: 'Map of steps in the release process that should be skipped',
68-
default: defaults.scripts
68+
default: defaults.skip
6969
})
7070
.option('dry-run', {
7171
type: 'boolean',

0 commit comments

Comments
 (0)