Ensure yarn packages are installed when running only LintUI

This commit is contained in:
Bogdan
2023-07-31 08:33:52 +03:00
parent 9ac9bd25c1
commit 263e807de2

View File

@@ -391,19 +391,18 @@ then
fi
fi
if [ "$LINT" = "YES" ];
then
if [ -z "$FRONTEND" ];
if [[ "$LINT" = "YES" || "$FRONTEND" = "YES" ]];
then
YarnInstall
fi
if [ "$LINT" = "YES" ];
then
LintUI
fi
if [ "$FRONTEND" = "YES" ];
then
YarnInstall
RunWebpack
fi