Skip to content

Commit

Permalink
Fix unicode dash
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin Gukov committed Jan 31, 2025
1 parent 9d294d2 commit aad9972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checkov/common/runners/runner_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ def print_reports(
)

# Remove colors from the cli output
ansi_escape = re.compile(r'(?:\x1B[@-_]|[\x80-\x9F])[09:;<=>?]*[ -/]*[@-~]')
ansi_escape = re.compile(r'(?:\x1B[@-_]|[\x80-\x9F])[0-9:;<=>?]*[ -/]*[@-~]')
data_outputs['cli'] = ansi_escape.sub('', cli_output)
if "sarif" in config.output:
sarif = Sarif(reports=sarif_reports, tool=self.tool)
Expand Down

0 comments on commit aad9972

Please sign in to comment.