Skip to content

Commit 5773438

Browse files
targossilverwind
authored andcommitted
test: fix jslint error
PR-URL: #1743 Fixes: #1742 Reviewed-By: Roman Reiss <[email protected]>
1 parent 8676319 commit 5773438

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/parallel/test-sync-io-option.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@ if (process.argv[2] === 'child') {
3333
// Prints 4 WARNINGS for --trace-sync-io. 1 for each sync call
3434
// inside readFileSync
3535
assert.equal(cntr1, 4);
36-
} else if (execArgv[0] === ' ')
36+
} else if (execArgv[0] === ' ') {
3737
assert.equal(cntr1, 0);
38-
else
38+
} else {
3939
throw new Error('UNREACHABLE');
40+
}
4041

4142
if (flags.length > 0)
4243
setImmediate(runTest, flags);

0 commit comments

Comments
 (0)