From fc456ecac45508c05c6038b8c25351ffbb5d0770 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Wed, 29 Nov 2023 14:31:52 +0100 Subject: [PATCH] Fix master: remove target directory before move --- scripts/_common.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/_common.sh b/scripts/_common.sh index d12e606..b14bfe8 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -32,6 +32,7 @@ _npm_build_install() { "$ynh_npm" run build popd || ynh_die "Could not popd" + ynh_secure_remove --file="$targetdir" mv "$sourcedir/frontend/dist" "$targetdir" }