From ea1597c6e82a262ae8e3346e09d78e58bccf4451 Mon Sep 17 00:00:00 2001 From: Namekuji Date: Fri, 7 Jul 2023 02:53:10 -0400 Subject: [PATCH] chore: add megalodon to cleaning scripts --- scripts/clean-all.js | 2 +- scripts/clean.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/clean-all.js b/scripts/clean-all.js index 47aaec25c..4320aae2d 100644 --- a/scripts/clean-all.js +++ b/scripts/clean-all.js @@ -46,7 +46,7 @@ const { join } = require("node:path"); recursive: true, force: true, }); - fs.rmSync(join(__dirname, "/../packages/megalodon/built"), { + fs.rmSync(join(__dirname, "/../packages/megalodon/lib"), { recursive: true, force: true, }); diff --git a/scripts/clean.js b/scripts/clean.js index 39cbc77b9..727ddb66f 100644 --- a/scripts/clean.js +++ b/scripts/clean.js @@ -23,5 +23,9 @@ const { join } = require("node:path"); recursive: true, force: true, }); + fs.rmSync(join(__dirname, "/../packages/megalodon/lib"), { + recursive: true, + force: true, + }); fs.rmSync(join(__dirname, "/../built"), { recursive: true, force: true }); })();