Fix bug in handle of dirs in gulp

This commit is contained in:
Fedor A. Fetisov 2017-11-10 18:15:59 +03:00
parent e40e821b5f
commit 0f1407682e

View File

@ -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 {