mirror of
https://github.com/Mibew/mibew.git
synced 2025-01-31 05:20:30 +03:00
Fix bug in handle of dirs in gulp
This commit is contained in:
parent
e40e821b5f
commit
0f1407682e
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user