From d9feec9a2dbb3b8b5f7e0f1ad305f385b0a5d585 Mon Sep 17 00:00:00 2001 From: carey036 <45777074+carey036@users.noreply.github.com> Date: Fri, 1 Mar 2024 12:12:45 +0800 Subject: [PATCH] fix: build err when rm history build before building --- web/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/build.sh b/web/build.sh index b59babe4..eabc0b3d 100644 --- a/web/build.sh +++ b/web/build.sh @@ -5,7 +5,7 @@ pwd while IFS= read -r theme; do echo "Building theme: $theme" - rm -r build/$theme + rm -rf build/$theme cd "$theme" npm install DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$version npm run build