From 042e97428fdc71117ff2a431cbfcd68cf3215838 Mon Sep 17 00:00:00 2001 From: Murtaza H <1850989+mhussa19@users.noreply.github.com> Date: Fri, 12 Oct 2018 09:55:48 -0700 Subject: [PATCH] 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 Reviewed-By: Ruben Bridgewater Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil Reviewed-By: Trivikram Kamat --- test/parallel/test-fs-access.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { } }