From c1117b6da9acd834d4606083b78f967c9d8c4fb1 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 5 Sep 2023 10:29:19 +0200 Subject: [PATCH] :bug: Fix issue on frontend build process caused by deps update --- frontend/gulpfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/gulpfile.js b/frontend/gulpfile.js index 2a12ec614..18e3edc14 100644 --- a/frontend/gulpfile.js +++ b/frontend/gulpfile.js @@ -16,7 +16,7 @@ const modules = require("postcss-modules"); const clean = require("postcss-clean"); const {mkdirp} = require("mkdirp"); -const rimraf = require("rimraf"); +const {rimraf} = require("rimraf"); const sass = require("sass"); const gettext = require("gettext-parser"); const marked = require("marked"); @@ -266,7 +266,7 @@ gulp.task("polyfills", function() { ***********************************************/ gulp.task("clean", function(next) { - rimraf(paths.output, next); + rimraf(paths.output).finally(next) }); gulp.task("copy:assets:images", function() {