Skip to content

Commit

Permalink
path: use '===' instead of '==' for comparison
Browse files Browse the repository at this point in the history
Per: nodejs/node-v0.x-archive#7554

Originally submitted by @stites
  • Loading branch information
Sam Stites authored and jasnell committed Aug 15, 2015
1 parent 4c06515 commit 5fdc184
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 @@ -277,7 +277,7 @@ win32.relative = function(from, to) {
}
}

if (samePartsLength == 0) {
if (samePartsLength === 0) {
return to;
}

Expand Down

0 comments on commit 5fdc184

Please sign in to comment.