Skip to content

Commit 850181b

Browse files
authored
Fix: Prevent rich tags from leaking outside the console implementation (#4481)
1 parent 7c7110f commit 850181b

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

sqlmesh/core/plan/evaluator.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,8 @@ def evaluate(
132132

133133
push_completion_status = self._push(plan, snapshots, deployability_index_for_creation)
134134
if push_completion_status.is_nothing_to_do:
135-
self.console.log_status_update(
136-
""
137-
if plan.restatements
138-
else "\n[green]SKIP: No physical layer updates to perform[/green]\n"
135+
self.console.log_success(
136+
"" if plan.restatements else "\nSKIP: No physical layer updates to perform"
139137
)
140138
update_intervals_for_new_snapshots(plan.new_snapshots, self.state_sync)
141139
self._restate(plan, snapshots_by_name)
@@ -160,7 +158,7 @@ def evaluate(
160158
first_bf_completion_status.is_nothing_to_do
161159
and second_bf_completion_status.is_nothing_to_do
162160
):
163-
self.console.log_status_update("[green]SKIP: No model batches to execute[/green]\n")
161+
self.console.log_success("SKIP: No model batches to execute")
164162
self._update_views(
165163
plan, snapshots, promotion_result, deployability_index_for_evaluation
166164
)

0 commit comments

Comments
 (0)