Skip to content

Commit dafb0c7

Browse files
Fix: Escape backslash in string to prevent syntax error (#4165)
1 parent f3a037c commit dafb0c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sqlmesh/core/console.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ def update_snapshot_evaluation_progress(
832832
audits_str += f" {RED_X_MARK}{num_audits_failed}"
833833
audits_str = f", audits{audits_str}" if audits_str else ""
834834
annotation_len = self.evaluation_column_widths["annotation"]
835-
annotation = f"\[{annotation + audits_str}]".ljust(
835+
annotation = f"\\[{annotation + audits_str}]".ljust(
836836
annotation_len - 1 if num_audits_failed else annotation_len
837837
)
838838

0 commit comments

Comments
 (0)