diff options
Diffstat (limited to 'deps/npm/node_modules/realize-package-specifier/index.js')
-rw-r--r-- | deps/npm/node_modules/realize-package-specifier/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/npm/node_modules/realize-package-specifier/index.js b/deps/npm/node_modules/realize-package-specifier/index.js index 30214b2da37..935f600b0af 100644 --- a/deps/npm/node_modules/realize-package-specifier/index.js +++ b/deps/npm/node_modules/realize-package-specifier/index.js @@ -17,7 +17,7 @@ module.exports = function (spec, where, cb) { if ((dep.type == "range" || dep.type == "version") && dep.name != dep.raw) return cb(null, dep) var specpath = dep.type == "local" ? path.resolve(where, dep.spec) - : path.resolve(dep.rawSpec? dep.rawSpec: dep.name) + : path.resolve(where, dep.rawSpec? dep.rawSpec: dep.name) fs.stat(specpath, function (er, s) { if (er) return finalize() if (!s.isDirectory()) return finalize("local") |