diff options
Diffstat (limited to 'deps/npm/lib/install/save.js')
-rw-r--r-- | deps/npm/lib/install/save.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/deps/npm/lib/install/save.js b/deps/npm/lib/install/save.js index d5c97bfaa2..18028a3c26 100644 --- a/deps/npm/lib/install/save.js +++ b/deps/npm/lib/install/save.js @@ -167,11 +167,7 @@ function computeVersionSpec (child) { pathname: requested.spec }) } else { - return url.format({ - protocol: 'file', - slashes: false, - pathname: relativePath - }) + return 'file:' + relativePath } } else if (requested.type === 'hosted') { return requested.spec |