Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion components/git/v8.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import { defaultBaseDir } from '../../lib/update-v8/constants.js';
import { checkCwd } from '../../lib/update-v8/common.js';
import { forceRunAsync } from '../../lib/run.js';
import { type } from 'node:os';

Check failure on line 9 in components/git/v8.js

View workflow job for this annotation

GitHub Actions / Lint using ESLint

'type' is defined but never used

export const command = 'v8 [major|minor|backport]';
export const describe = 'Update or patch the V8 engine';
Expand All @@ -22,6 +23,7 @@
default: 'lkgr'
});
yargs.option('version-bump', {
type: 'boolean',
describe: 'Bump the NODE_MODULE_VERSION constant',
default: true
});
Expand All @@ -39,10 +41,12 @@
builder: (yargs) => {
yargs
.option('bump', {
type: 'boolean',
describe: 'Bump V8 embedder version number or patch version',
default: true
})
.option('squash', {
type: 'boolean',
describe:
'If multiple commits are backported, squash them into one',
default: false
Expand All @@ -62,8 +66,8 @@
describe: 'Directory of an existing V8 clone'
})
.option('verbose', {
type: 'boolean',
describe: 'Enable verbose output',
boolean: true,
default: false
});
}
Expand Down
Loading