Skip to content
Permalink
Browse files

test: removed unused error variable in try catch

In test/parallel/test-fs-access.js

PR-URL: #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 jasnell committed Oct 12, 2018
1 parent c9fd435 commit c254e40b188b23ab695b0db01effc1d0552a59d9
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/parallel/test-fs-access.js
@@ -55,7 +55,7 @@ if (!common.isWindows && process.getuid() === 0) {
try {
process.setuid('nobody');
hasWriteAccessForReadonlyFile = false;
} catch (err) {
} catch {
}
}

0 comments on commit c254e40

Please sign in to comment.
You can’t perform that action at this time.