Skip to content

Commit 042e974

Browse files
mhussa20MylesBorins
authored andcommitted
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>
1 parent 715768e commit 042e974

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-fs-access.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ if (!common.isWindows && process.getuid() === 0) {
5353
try {
5454
process.setuid('nobody');
5555
hasWriteAccessForReadonlyFile = false;
56-
} catch (err) {
56+
} catch {
5757
}
5858
}
5959

0 commit comments

Comments
 (0)