File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1534,9 +1534,9 @@ def handle_mcp_configure(args: Namespace) -> int:
15341534 )
15351535
15361536 if result .success :
1537- reporter .report_result ()
15381537 if result .backup_path :
1539- print (f" Backup: { result .backup_path } " )
1538+ reporter .add (ConsequenceType .CREATE , f"Backup: { result .backup_path } " )
1539+ reporter .report_result ()
15401540 return EXIT_SUCCESS
15411541 else :
15421542 print (
@@ -1615,9 +1615,9 @@ def handle_mcp_remove(args: Namespace) -> int:
16151615 )
16161616
16171617 if result .success :
1618- reporter .report_result ()
16191618 if result .backup_path :
1620- print (f" Backup: { result .backup_path } " )
1619+ reporter .add (ConsequenceType .CREATE , f"Backup: { result .backup_path } " )
1620+ reporter .report_result ()
16211621 return EXIT_SUCCESS
16221622 else :
16231623 print (
@@ -1819,15 +1819,15 @@ def handle_mcp_remove_host(args: Namespace) -> int:
18191819 )
18201820
18211821 if result .success :
1822- reporter .report_result ()
18231822 if result .backup_path :
1824- print ( f" Backup: { result .backup_path } " )
1823+ reporter . add ( ConsequenceType . CREATE , f" Backup: { result .backup_path } " )
18251824
18261825 # Update environment tracking across all environments
18271826 updates_count = env_manager .clear_host_from_all_packages_all_envs (host_name )
18281827 if updates_count > 0 :
1829- print ( f" Updated { updates_count } package entries across environments" )
1828+ reporter . add ( ConsequenceType . UPDATE , f" Updated { updates_count } package entries across environments" )
18301829
1830+ reporter .report_result ()
18311831 return EXIT_SUCCESS
18321832 else :
18331833 print (
You can’t perform that action at this time.
0 commit comments