mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
test: removed unused error variable in try catch
In test/parallel/test-fs-access.js PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
d886095377
commit
720262bacb
1 file changed
+1
-1
@@ -53,7 +53,7 @@ if (!common.isWindows && process.getuid() === 0) {
|
||||
try {
|
||||
process.setuid('nobody');
|
||||
hasWriteAccessForReadonlyFile = false;
|
||||
} catch (err) {
|
||||
} catch {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user