parent
8c1a543329
commit
fe35d8c97a
|
@ -148,9 +148,12 @@ class FolderDetector {
|
||||||
}
|
}
|
||||||
let gulpfile = path.join(rootPath, 'gulpfile.js');
|
let gulpfile = path.join(rootPath, 'gulpfile.js');
|
||||||
if (!await exists(gulpfile)) {
|
if (!await exists(gulpfile)) {
|
||||||
gulpfile = path.join(rootPath, 'gulpfile.babel.js');
|
gulpfile = path.join(rootPath, 'Gulpfile.js');
|
||||||
if (! await exists(gulpfile)) {
|
if (!await exists(gulpfile)) {
|
||||||
return emptyTasks;
|
gulpfile = path.join(rootPath, 'gulpfile.babel.js');
|
||||||
|
if (!await exists(gulpfile)) {
|
||||||
|
return emptyTasks;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue