diff options
author | isaacs <i@izs.me> | 2012-10-23 22:29:44 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-10-23 22:29:44 +0400 |
commit | 635c69538bac46a439bd3ebf05bc3b30373c0ab1 (patch) | |
tree | e849573b816a9cb581898b8543a668110fb017e5 /node_modules/glob/glob.js | |
parent | 307b098f048020193fe907037b5589c4fe0387d2 (diff) |
glob@3.1.14
Diffstat (limited to 'node_modules/glob/glob.js')
-rw-r--r-- | node_modules/glob/glob.js | 2 |
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 |