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

PR-URL: #2388
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
  • Loading branch information
Sam Stites authored and Fishrock123 committed Aug 19, 2015
1 parent d1307b2 commit 844d3f0
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 844d3f0

Please sign in to comment.