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: #23553
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
  • Loading branch information
mhussa20 authored and addaleax committed Oct 20, 2018
1 parent 43ccfc7 commit f03674b
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 @@ -53,7 +53,7 @@ if (!common.isWindows && process.getuid() === 0) {
try {
process.setuid('nobody');
hasWriteAccessForReadonlyFile = false;
} catch (err) {
} catch {
}
}

Expand Down

0 comments on commit f03674b

Please sign in to comment.