Skip to content

Commit fe35d8c

Browse files
committed
Add 'Gulpfile.js' as valid gulpfile name
Fixes microsoft#103794
1 parent 8c1a543 commit fe35d8c

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

extensions/gulp/src/main.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,12 @@ class FolderDetector {
148148
}
149149
let gulpfile = path.join(rootPath, 'gulpfile.js');
150150
if (!await exists(gulpfile)) {
151-
gulpfile = path.join(rootPath, 'gulpfile.babel.js');
152-
if (! await exists(gulpfile)) {
153-
return emptyTasks;
151+
gulpfile = path.join(rootPath, 'Gulpfile.js');
152+
if (!await exists(gulpfile)) {
153+
gulpfile = path.join(rootPath, 'gulpfile.babel.js');
154+
if (!await exists(gulpfile)) {
155+
return emptyTasks;
156+
}
154157
}
155158
}
156159

0 commit comments

Comments
 (0)