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:
authorisaacs <i@izs.me>2012-10-23 22:29:44 +0400
committerisaacs <i@izs.me>2012-10-23 22:29:44 +0400
commit635c69538bac46a439bd3ebf05bc3b30373c0ab1 (patch)
treee849573b816a9cb581898b8543a668110fb017e5 /node_modules/glob/glob.js
parent307b098f048020193fe907037b5589c4fe0387d2 (diff)
glob@3.1.14
Diffstat (limited to 'node_modules/glob/glob.js')
-rw-r--r--node_modules/glob/glob.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/glob/glob.js b/node_modules/glob/glob.js
index 94f699340..10c87bc55 100644
--- a/node_modules/glob/glob.js
+++ b/node_modules/glob/glob.js
@@ -345,7 +345,7 @@ Glob.prototype._process = function (pattern, depth, index, cb_) {
var read
if (prefix === null) read = "."
else if (isAbsolute(prefix)) {
- read = prefix = path.join("/", prefix)
+ read = prefix = path.resolve("/", prefix)
if (this.debug) console.error('absolute: ', prefix, this.root, pattern)
} else read = prefix