From 3d637e38f950317691387e6412572d30e5da784d Mon Sep 17 00:00:00 2001 From: Matthew RONCHETTO Date: Sun, 26 Jan 2025 11:55:24 -0800 Subject: [PATCH] fix: callback is not function --- gulpfile.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.ts b/gulpfile.ts index f2875ea1..cb920cfe 100644 --- a/gulpfile.ts +++ b/gulpfile.ts @@ -22,8 +22,8 @@ const rubric: RubricQuestion[] = loadRubric(); const contributors: Contributor[] = loadContributors(); const products: Product[] = loadProducts(rubric, contributors); -gulp.task("clean", async () => { - return await fs.rm(path.join(__dirname, "dist"), { +gulp.task("clean", () => { + return fs.rmSync(path.join(__dirname, "dist"), { recursive: true, force: true, });