From ebd6559822a76ae27dff96894451443f9f15e01d Mon Sep 17 00:00:00 2001 From: Christopher Allen Date: Tue, 13 Jul 2021 16:04:48 +0100 Subject: [PATCH] Fix incorrectly-reverted change to `mkdirSync` call An intermediate version of this code read: fs.mkdir(demoStaticTmpDir, {recursive: true}), done); but apparently `fs.mkdir` doesn't honour the recursive option, so I tried to revert the change but munged it instead. This commit cleans up the mess I made. --- scripts/gulpfiles/appengine_tasks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gulpfiles/appengine_tasks.js b/scripts/gulpfiles/appengine_tasks.js index 04ef14402..3ae3cc1ba 100644 --- a/scripts/gulpfiles/appengine_tasks.js +++ b/scripts/gulpfiles/appengine_tasks.js @@ -28,7 +28,7 @@ function prepareDeployDir(done) { if (fs.existsSync(demoTmpDir)) { rimraf.sync(demoTmpDir); } - fs.mkdir(demoStaticTmpDir, {recursive: true}); + fs.mkdirSync(demoStaticTmpDir, {recursive: true}); done(); }