projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a593cb7
)
path: use '===' instead of '==' for comparison
author
Sam Stites
<sam@stites.io>
Sat, 15 Aug 2015 17:07:07 +0000
(10:07 -0700)
committer
Roman Reiss
<me@silverwind.io>
Mon, 17 Aug 2015 18:47:41 +0000
(20:47 +0200)
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>
lib/path.js
patch
|
blob
|
history
diff --git
a/lib/path.js
b/lib/path.js
index
78c6157
..
4bcb2b3
100644
(file)
--- a/
lib/path.js
+++ b/
lib/path.js
@@
-277,7
+277,7
@@
win32.relative = function(from, to) {
}
}
- if (samePartsLength == 0) {
+ if (samePartsLength ==
=
0) {
return to;
}