diff --git a/test/parallel/test-fs-access.js b/test/parallel/test-fs-access.js index d053b9323bc275..abc8a2014f0ea8 100644 --- a/test/parallel/test-fs-access.js +++ b/test/parallel/test-fs-access.js @@ -53,7 +53,7 @@ if (!common.isWindows && process.getuid() === 0) { try { process.setuid('nobody'); hasWriteAccessForReadonlyFile = false; - } catch (err) { + } catch { } }