fix(authLogoutCmd): rm os.Exit

This commit is contained in:
Ruslan Semagin 2026-02-24 15:03:38 +03:00
parent 209054f5bb
commit 4989d1ad0b

View file

@ -302,8 +302,7 @@ func authLogoutCmd(provider string) error {
}
if err := auth.DeleteAllCredentials(); err != nil {
fmt.Printf("Failed to remove credentials: %v\n", err)
os.Exit(1)
return fmt.Errorf("failed to remove credentials: %w", err)
}
appCfg, err := internal.LoadConfig()