From 0f1407682ef8909b77dd5bc930a0f7e285769f57 Mon Sep 17 00:00:00 2001 From: "Fedor A. Fetisov" Date: Fri, 10 Nov 2017 18:15:59 +0300 Subject: [PATCH] Fix bug in handle of dirs in gulp --- src/gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gulpfile.js b/src/gulpfile.js index adb2bbca..66756a0f 100644 --- a/src/gulpfile.js +++ b/src/gulpfile.js @@ -521,7 +521,7 @@ var getChildDirs = function(srcDir) { // Replace all the files that are not a directory with nulls. return Promise.all(files.map(function (file) { return new Promise(function (resolve, reject) { - fs.lstat(config.chatStylesPath + '/' + file, function (err, stat) { + fs.lstat(srcDir + '/' + file, function (err, stat) { if (err) { reject(err); } else {