From c7a50cc7e9e8586daf46ef4a9a0e879a29b02feb Mon Sep 17 00:00:00 2001 From: kiskaadee Date: Thu, 10 Sep 2026 17:06:49 -0500 Subject: [PATCH] fix(appctl): do not overwrite non-empty env vars with empty strings from app.yaml --- scripts/appctl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/appctl b/scripts/appctl index 193b0b0..5a9b317 100755 --- a/scripts/appctl +++ b/scripts/appctl @@ -77,7 +77,8 @@ import json, sys d = json.loads(sys.argv[1]) env_dict = d.get('env', {}) for k, v in env_dict.items(): - print(f'export {k}=\"{v}\"') + if v != '' and v is not None: + print(f'export {k}=\"{v}\"') " "$resolved_json")" # 4. Source local .env if present