From b348e18dfb646dcfbf5524547f597a2aee823442 Mon Sep 17 00:00:00 2001 From: Christopher Allen Date: Mon, 21 Jun 2021 19:13:59 +0100 Subject: [PATCH] Don't use path.join to create globs for gulp.src Per the gulp documentation[1], globs passed to gulp.src should use '/' as the path separator regardless of the path separator used on whatever OS we are running on. [1] https://gulpjs.com/docs/en/getting-started/explaining-globs#segments-and-separators --- scripts/gulpfiles/appengine_tasks.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/gulpfiles/appengine_tasks.js b/scripts/gulpfiles/appengine_tasks.js index e07b9f60f..e8114587a 100644 --- a/scripts/gulpfiles/appengine_tasks.js +++ b/scripts/gulpfiles/appengine_tasks.js @@ -47,8 +47,8 @@ function copyStaticSrc(done) { */ function copyAppengineSrc() { const appengineSrc = [ - path.join(demoStaticTmpDir, 'appengine/**/*'), - path.join(demoStaticTmpDir, 'appengine/.gcloudignore'), + `${demoStaticTmpDir}/appengine/**/*`, + `${demoStaticTmpDir}/appengine/.gcloudignore`, ]; return gulp.src(appengineSrc).pipe(gulp.dest(demoTmpDir)); }