Skip to content

Commit aafbb28

Browse files
committed
lint: lint fix
1 parent f11cd01 commit aafbb28

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

benchmark/_cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function CLI(usage, settings = kEmptyObject) {
2626
this.items = [];
2727
this.test = false;
2828

29-
if(settings.arrayArgs) {
29+
if (settings.arrayArgs) {
3030
for (const argName of settings.arrayArgs) {
3131
this.optional[argName] = [];
3232
}
@@ -42,7 +42,7 @@ function CLI(usage, settings = kEmptyObject) {
4242
} else if (mode === 'both' && arg[0] === '-') {
4343
// Optional arguments declaration
4444

45-
currentOptional = arg.split('-').pop()
45+
currentOptional = arg.split('-').pop();
4646

4747
if (settings.boolArgs?.includes(currentOptional)) {
4848
this.optional[currentOptional] = true;

test/parallel/test-benchmark-cli.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function testNoSettingsPattern(filters, excludes, filename, expectedResult) {
4545
const cli = new CLI('');
4646
assert.deepStrictEqual(cli.shouldSkip(filename), expectedResult);
4747
} catch {
48-
common.mustNotCall('If settings param is null, shouldn\'t throw an error')
48+
common.mustNotCall('If settings param is null, shouldn\'t throw an error');
4949
}
5050
process.argv = originalArgv;
5151
}
@@ -65,4 +65,3 @@ testNoSettingsPattern([], ['foo', 'bar'], 'bar', true);
6565

6666
testNoSettingsPattern(['foo'], ['bar'], 'foo', false);
6767
testNoSettingsPattern(['foo'], ['bar'], 'foo-bar', true);
68-

0 commit comments

Comments
 (0)