From d057d15ac7235dce3f83c2098cd96ddf2944aff6 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Mon, 31 Jul 2023 08:34:25 +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 4b2ace044..2d9c59e93 100755 --- a/build.sh +++ b/build.sh @@ -392,19 +392,18 @@ then fi fi +if [[ "$LINT" = "YES" || "$FRONTEND" = "YES" ]]; +then + YarnInstall +fi + if [ "$LINT" = "YES" ]; then - if [ -z "$FRONTEND" ]; - then - YarnInstall - fi - LintUI fi if [ "$FRONTEND" = "YES" ]; then - YarnInstall RunWebpack fi