update yarn package before running the actual command

master
oscar 2022-06-01 11:54:30 +12:00
parent ff95becbbd
commit 5da99536d1
1 changed files with 3 additions and 0 deletions

View File

@ -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