Skip to content

Commit 3916e59

Browse files
elyalvaradoTrott
authored andcommitted
Rename variable to reduce line length
...and make the linter happy
1 parent f07fd01 commit 3916e59

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/parallel/test-worker-terminate-null-handler.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ process.once('beforeExit', common.mustCall(() => {
1818

1919
worker.on('exit', common.mustCall(() => {
2020
console.log('exit');
21-
worker.terminate().then((returned) => assert.strictEqual(returned, undefined));
21+
worker.terminate().then((res) => assert.strictEqual(res, undefined));
2222
worker.terminate(() => null).then(
23-
(returned) => assert.strictEqual(returned, undefined)
23+
(res) => assert.strictEqual(res, undefined)
2424
);
2525
}));
2626

0 commit comments

Comments
 (0)