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

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/bin-links/index.js')
-rw-r--r--node_modules/bin-links/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/node_modules/bin-links/index.js b/node_modules/bin-links/index.js
index 4f6d3c055..79c2cb585 100644
--- a/node_modules/bin-links/index.js
+++ b/node_modules/bin-links/index.js
@@ -18,6 +18,7 @@ module.exports = BB.promisify(binLinks)
function binLinks (pkg, folder, global, opts, cb) {
pkg = normalize(pkg)
+ folder = path.resolve(folder)
// if it's global, and folder is in {prefix}/node_modules,
// then bins are in {prefix}/bin