update yarn package before running the actual command
This commit is contained in:
parent
ff95becbbd
commit
5da99536d1
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user