Skip to content

Commit c254e40

Browse files
mhussa20jasnell
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 c9fd435 commit c254e40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-fs-access.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ if (!common.isWindows && process.getuid() === 0) {
5555
try {
5656
process.setuid('nobody');
5757
hasWriteAccessForReadonlyFile = false;
58-
} catch (err) {
58+
} catch {
5959
}
6060
}
6161

0 commit comments

Comments
 (0)