Skip to content

Commit

Permalink
Update lib/path.js
Browse files Browse the repository at this point in the history
Co-authored-by: Ruben Bridgewater <[email protected]>
  • Loading branch information
huseyinacacak-janea and BridgeAR authored Sep 9, 2024
1 parent a5540cb commit 350d03b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/path.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 350d03b

Please sign in to comment.