path: use '===' instead of '==' for comparison
Per: https://github.com/joyent/node/pull/7554 Originally submitted by @stites PR-URL: https://github.com/nodejs/node/pull/2388 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
This commit is contained in:
parent
a593cb7682
commit
1a3b295d0f
@ -277,7 +277,7 @@ win32.relative = function(from, to) {
|
||||
}
|
||||
}
|
||||
|
||||
if (samePartsLength == 0) {
|
||||
if (samePartsLength === 0) {
|
||||
return to;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user