glob
Advanced tools
Comparing version 3.1.19 to 3.1.20
10
glob.js
@@ -328,5 +328,3 @@ // Approach: | ||
if (prefix.charAt(0) === "/") { | ||
console.error('JOIN 0', this.root, prefix) | ||
prefix = path.join(this.root, prefix) | ||
console.error('JOIN 1', this.root, prefix) | ||
} else { | ||
@@ -368,5 +366,3 @@ prefix = path.resolve(this.root, prefix) | ||
if (!prefix || !isAbsolute(prefix)) { | ||
console.error('JOIN 1', "/", prefix) | ||
prefix = path.join("/", prefix) | ||
console.error('JOIN 2', "/", prefix) | ||
} | ||
@@ -449,5 +445,3 @@ read = prefix = path.resolve(prefix) | ||
if (e.charAt(0) === "/" && !this.nomount) { | ||
console.error('JOIN 3', this.root, e) | ||
e = path.join(this.root, e) | ||
console.error('JOIN 4', this.root, e) | ||
} | ||
@@ -487,5 +481,3 @@ | ||
if (f.charAt(0) === "/") { | ||
console.error('JOIN 5', this.root, f) | ||
abs = path.join(this.root, f) | ||
console.error('JOIN 6', this.root, f) | ||
} else if (this.changedCwd) { | ||
@@ -548,5 +540,3 @@ abs = path.resolve(this.cwd, f) | ||
if (f.charAt(0) === "/") { | ||
console.error('JOIN 5', this.root, f) | ||
abs = path.join(this.root, f) | ||
console.error('JOIN 5', abs) | ||
} else if (isAbsolute(f)) { | ||
@@ -553,0 +543,0 @@ abs = f |
@@ -5,3 +5,3 @@ { | ||
"description": "a little globber", | ||
"version": "3.1.19", | ||
"version": "3.1.20", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
72343
1377