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 <[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]>
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)