From 29d8ad2e5de1447f39252edd5ceea22034801547 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Mon, 24 Nov 2025 15:03:40 +0000 Subject: [PATCH] fix(cli): fix pushing non existing apps with cli --- cli/src/commands/app/apps.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cli/src/commands/app/apps.ts b/cli/src/commands/app/apps.ts index 46dea1e349..1c6baceda2 100644 --- a/cli/src/commands/app/apps.ts +++ b/cli/src/commands/app/apps.ts @@ -45,7 +45,9 @@ export async function pushApp( } catch { //ignore } - app.policy = undefined; + if (app) { + app.policy = undefined; + } if (!localPath.endsWith(SEP)) { localPath += SEP;