From 5da99536d1b804019a42d4029c5468ca0fda5cab Mon Sep 17 00:00:00 2001 From: oscar Date: Wed, 1 Jun 2022 11:54:30 +1200 Subject: [PATCH] update yarn package before running the actual command --- build_manager.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build_manager.sh b/build_manager.sh index 851ef9d..b1906e9 100755 --- a/build_manager.sh +++ b/build_manager.sh @@ -96,6 +96,7 @@ function cleanup_temporary_volume() { function build_portainer_frontend_without_prompt() { printf "${HIGHLIGHT_COLOR}Build Portainer Frontend${NO_COLOR}\n" + yarn yarn start:client } @@ -167,6 +168,8 @@ function run_before_commit() { exit; fi + yarn + printf "${HIGHLIGHT_COLOR}yarn format${NO_COLOR}\n" yarn format