From fe35d8c97a4f79b2efc6df4f6e0baeb49be0deb3 Mon Sep 17 00:00:00 2001 From: Alex Ross Date: Mon, 3 Aug 2020 11:15:10 +0200 Subject: [PATCH] Add 'Gulpfile.js' as valid gulpfile name Fixes #103794 --- extensions/gulp/src/main.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/extensions/gulp/src/main.ts b/extensions/gulp/src/main.ts index 534756ac81d..0d70cdd4828 100644 --- a/extensions/gulp/src/main.ts +++ b/extensions/gulp/src/main.ts @@ -148,9 +148,12 @@ class FolderDetector { } let gulpfile = path.join(rootPath, 'gulpfile.js'); if (!await exists(gulpfile)) { - gulpfile = path.join(rootPath, 'gulpfile.babel.js'); - if (! await exists(gulpfile)) { - return emptyTasks; + gulpfile = path.join(rootPath, 'Gulpfile.js'); + if (!await exists(gulpfile)) { + gulpfile = path.join(rootPath, 'gulpfile.babel.js'); + if (!await exists(gulpfile)) { + return emptyTasks; + } } }