Skip to content

Commit c953d93

Browse files
authored
fix(v8): mark boolean CLI options as such (#861)
1 parent 1f6bcf6 commit c953d93

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

components/git/v8.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export function builder(yargs) {
2222
default: 'lkgr'
2323
});
2424
yargs.option('version-bump', {
25+
type: 'boolean',
2526
describe: 'Bump the NODE_MODULE_VERSION constant',
2627
default: true
2728
});
@@ -39,10 +40,12 @@ export function builder(yargs) {
3940
builder: (yargs) => {
4041
yargs
4142
.option('bump', {
43+
type: 'boolean',
4244
describe: 'Bump V8 embedder version number or patch version',
4345
default: true
4446
})
4547
.option('squash', {
48+
type: 'boolean',
4649
describe:
4750
'If multiple commits are backported, squash them into one',
4851
default: false
@@ -62,8 +65,8 @@ export function builder(yargs) {
6265
describe: 'Directory of an existing V8 clone'
6366
})
6467
.option('verbose', {
68+
type: 'boolean',
6569
describe: 'Enable verbose output',
66-
boolean: true,
6770
default: false
6871
});
6972
}

0 commit comments

Comments
 (0)