From efdac610bd0b802cfb9535eadf0a67cbfeb0b286 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Sun, 2 Nov 2025 11:42:19 +0100 Subject: [PATCH] fix: skip local server on it's own --- cli/app/env.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cli/app/env.go b/cli/app/env.go index 1fd06d0e..74492eda 100644 --- a/cli/app/env.go +++ b/cli/app/env.go @@ -118,8 +118,12 @@ synchronize your local app environment values with what is deployed live.`), } var contextCreated bool + if server == "default" { + contextCreated = true + } + for _, context := range contexts { - if context.Name == server || server == "default" { + if context.Name == server { contextCreated = true } }