mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-07 16:24:43 +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.
|
// Replace all the files that are not a directory with nulls.
|
||||||
return Promise.all(files.map(function (file) {
|
return Promise.all(files.map(function (file) {
|
||||||
return new Promise(function (resolve, reject) {
|
return new Promise(function (resolve, reject) {
|
||||||
fs.lstat(config.chatStylesPath + '/' + file, function (err, stat) {
|
fs.lstat(srcDir + '/' + file, function (err, stat) {
|
||||||
if (err) {
|
if (err) {
|
||||||
reject(err);
|
reject(err);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user