Skip to content

Commit

Permalink
test: removed unused error variable in try catch
Browse files Browse the repository at this point in the history
In test/parallel/test-fs-access.js

PR-URL: nodejs#23553
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
  • Loading branch information
mhussa20 authored and BridgeAR committed Oct 15, 2018
1 parent d9a1776 commit 620c977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-fs-access.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if (!common.isWindows && process.getuid() === 0) {
try {
process.setuid('nobody');
hasWriteAccessForReadonlyFile = false;
} catch (err) {
} catch {
}
}

Expand Down

0 comments on commit 620c977

Please sign in to comment.