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 <[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 c9fd435 commit c254e40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)