fix null aspectNames in check for smart folder

This commit is contained in:
Eugenio Romano
2018-09-18 17:09:16 +01:00
parent a801f656a7
commit ec633f27d6
3 changed files with 8 additions and 5 deletions

View File

@@ -124,8 +124,12 @@ do
fi
if [ ! -f package/bundles/assets/$PACKAGE/i18n/en.json ]; then
error_out '31;1' "$PACKAGE i18n not found!" >&2
exit 1
if [ $PACKAGE == 'adf-extensions' ]; then
echo "no i18n needed"
else
error_out '31;1' "$PACKAGE i18n not found!" >&2
exit 1
fi
else
echo "i18n ok!"
fi