From 350d03ba9bc8e05b71da186a935f5e7cbb5b2ef4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=BCseyin=20A=C3=A7acak?= <110401522+huseyinacacak-janea@users.noreply.github.com> Date: Mon, 9 Sep 2024 14:20:38 +0300 Subject: [PATCH] Update lib/path.js Co-authored-by: Ruben Bridgewater --- lib/path.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/path.js b/lib/path.js index b746b5a7e073b8..890e50627872e4 100644 --- a/lib/path.js +++ b/lib/path.js @@ -268,7 +268,7 @@ const win32 = { !isPathSeparator(StringPrototypeCharCodeAt(path, j))) { j++; } - if ((j === len || j !== last)) { + if (j === len || j !== last) { if (firstPart !== '.' && firstPart !== '?') { // We matched a UNC root device =