From 79f52c8c925ae3861ae6fe3ad9feebb86137ab92 Mon Sep 17 00:00:00 2001 From: Colin Seymour Date: Sun, 14 Jun 2026 12:52:56 +0000 Subject: [PATCH] Don't hard fail if config.json missing --- .devcontainer/setup-ha.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.devcontainer/setup-ha.sh b/.devcontainer/setup-ha.sh index adf6141..eab84c5 100755 --- a/.devcontainer/setup-ha.sh +++ b/.devcontainer/setup-ha.sh @@ -281,7 +281,8 @@ remove_addon_image() { log "Ensuring TeslaMate addon builds locally..." if [ ! -f "$CONFIG_JSON" ]; then - err "config.json not found at ${CONFIG_JSON}" + warn "config.json not found at ${CONFIG_JSON} - skipping image removal" + return 0 fi if ! jq -e 'has("image")' "$CONFIG_JSON" > /dev/null 2>&1; then