We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8676319 commit 5773438Copy full SHA for 5773438
test/parallel/test-sync-io-option.js
@@ -33,10 +33,11 @@ if (process.argv[2] === 'child') {
33
// Prints 4 WARNINGS for --trace-sync-io. 1 for each sync call
34
// inside readFileSync
35
assert.equal(cntr1, 4);
36
- } else if (execArgv[0] === ' ')
+ } else if (execArgv[0] === ' ') {
37
assert.equal(cntr1, 0);
38
- else
+ } else {
39
throw new Error('UNREACHABLE');
40
+ }
41
42
if (flags.length > 0)
43
setImmediate(runTest, flags);
0 commit comments