Skip to content

Commit 844d3f0

Browse files
Sam StitesFishrock123
Sam Stites
authored andcommitted
path: use '===' instead of '==' for comparison
Per: nodejs/node-v0.x-archive#7554 Originally submitted by @stites PR-URL: #2388 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
1 parent d1307b2 commit 844d3f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/path.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ win32.relative = function(from, to) {
277277
}
278278
}
279279

280-
if (samePartsLength == 0) {
280+
if (samePartsLength === 0) {
281281
return to;
282282
}
283283

0 commit comments

Comments
 (0)