Skip to content

Commit

Permalink
tools: enable eslint no-undef-init rule
Browse files Browse the repository at this point in the history
This also fixes the three entries that did not pass.

Backport-PR-URL: #19244
PR-URL: #18831
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Matheus Marchini <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Anatoli Papirovski <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
BridgeAR authored and MylesBorins committed Mar 21, 2018
1 parent ff82acb commit 9e10ddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-fs-utimes.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function testIt(atime, mtime, callback) {
expect_errno('futimesSync', fd, ex, 'ENOSYS');
}

let err = undefined;
let err;
try {
fs.utimesSync('foobarbaz', atime, mtime);
} catch (ex) {
Expand Down

0 comments on commit 9e10ddc

Please sign in to comment.