Fix of normalizing paths of form ./../the/rest
This commit is contained in:
parent
a5184fe938
commit
06b9c8bf1f
@ -351,6 +351,7 @@ var pathModule = createInternalModule("path", function (exports) {
|
|||||||
directory === ".."
|
directory === ".."
|
||||||
&& directories.length
|
&& directories.length
|
||||||
&& prev !== ".."
|
&& prev !== ".."
|
||||||
|
&& prev !== "."
|
||||||
&& prev !== undefined
|
&& prev !== undefined
|
||||||
&& (prev !== "" || keepBlanks)
|
&& (prev !== "" || keepBlanks)
|
||||||
) {
|
) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user