Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Stites <sam@stites.io>2015-08-15 20:07:07 +0300
committerRoman Reiss <me@silverwind.io>2015-08-17 21:47:41 +0300
commit1a3b295d0f46b2189bd853800b1e63ab4d106b66 (patch)
treec0d2b4ffd638998400c49ec4b229dc06a0f151c8 /lib/path.js
parenta593cb7682df7e45550d1ebe26be310dc7bef6bd (diff)
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>
Diffstat (limited to 'lib/path.js')
-rw-r--r--lib/path.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/path.js b/lib/path.js
index 78c61579ec0..4bcb2b36720 100644
--- 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;
}