Fix `app ls --status`

Closes #35
This commit is contained in:
3wc 2020-12-26 12:09:39 +02:00
parent e222f4152b
commit 7f009f927b
1 changed files with 1 additions and 3 deletions

4
abra
View File

@ -480,8 +480,6 @@ sub_app_list (){
done
fi
printf '%s\n' "${DEPLOYED_APPS[@]}"
printf "%s lovely apps:\n\n" "${#ENV_FILES[@]}"
for i in "${!ENV_FILES[@]}"; do
@ -502,7 +500,7 @@ sub_app_list (){
APP="$(source "$ENV_FILE" && echo "$APP")"
# shellcheck disable=SC1090
APP_STACK_NAME="$(source "$ENV_FILE" && echo "$STACK_NAME")"
if [ -z "$STACK_NAME" ]; then
if [ -z "$APP_STACK_NAME" ]; then
APP_STACK_NAME="${DOMAIN//./_}"
fi
if [ -n "$STATUS" ]; then