From f5e96f3f51ce84ea56f5832dd5394bb4c963f736 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Mon, 31 Jul 2023 08:18:45 +0300 Subject: [PATCH] Ensure yarn packages are installed when running only LintUI --- build.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/build.sh b/build.sh index cc59e8235..d282db86a 100755 --- a/build.sh +++ b/build.sh @@ -392,19 +392,18 @@ then fi fi -if [ "$LINT" = "YES" ]; +if [[ "$LINT" = "YES" || "$FRONTEND" = "YES" ]]; then - if [ -z "$FRONTEND" ]; - then - YarnInstall - fi + YarnInstall +fi +if [ "$LINT" = "YES" ]; +then LintUI fi if [ "$FRONTEND" = "YES" ]; then - YarnInstall RunWebpack fi