Skip to content

Commit bb49365

Browse files
committed
Windows bug
1 parent 40ff08e commit bb49365

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TemplatePath.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ TemplatePath.getAllDirs = function (path) {
9393
*/
9494
TemplatePath.normalize = function (thePath) {
9595
let filePath = path.normalize(thePath).split(path.sep).join("/");
96-
if(filePath !== path.sep && filePath.endsWith("/")) {
96+
if(filePath !== "/" && filePath.endsWith("/")) {
9797
return filePath.slice(0, -1);
9898
}
9999
return filePath;

0 commit comments

Comments
 (0)