From fdf33f54053c46cc872e18f3f9c9c38ebc5f1cfd Mon Sep 17 00:00:00 2001 From: tombogle Date: Fri, 5 Jan 2024 15:31:37 -0500 Subject: [PATCH] #567: Removed globbing in rimrafSync call in clean.js, since webpack paths do not have wildcards --- .erb/scripts/clean.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.erb/scripts/clean.js b/.erb/scripts/clean.js index fd7eab8c1c..07c0bc2270 100644 --- a/.erb/scripts/clean.js +++ b/.erb/scripts/clean.js @@ -10,5 +10,5 @@ const foldersToRemove = [ ]; foldersToRemove.forEach((folder) => { - if (fs.existsSync(folder)) rimrafSync(folder, { glob: true }); + if (fs.existsSync(folder)) rimrafSync(folder); });