From 3c10fbdd697920735063fead3d7b1d5abd82a06f Mon Sep 17 00:00:00 2001 From: Nicolas Frandeboeuf Date: Wed, 12 Oct 2022 12:01:35 +0000 Subject: [PATCH] Fix regression from 6914c9f6e1fba0ca40e6cd558798f8453c4f18c3 --- scripts/install | 1 - scripts/upgrade | 1 - 2 files changed, 2 deletions(-) diff --git a/scripts/install b/scripts/install index 65b67cd..9b1a8f6 100644 --- a/scripts/install +++ b/scripts/install @@ -154,7 +154,6 @@ ynh_use_nodejs ( cd "$final_path" ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn build:prod ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn cache clean --all ynh_secure_remove --file="$final_path/.cache" ynh_secure_remove --file="$final_path/.yarn" diff --git a/scripts/upgrade b/scripts/upgrade index d2ba0fa..3ea632a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -190,7 +190,6 @@ ynh_use_nodejs ynh_secure_remove --file="$final_path/node_modules" ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn build:prod ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn cache clean --all ynh_secure_remove --file="$final_path/.cache" ynh_secure_remove --file="$final_path/.yarn"