Skip to content
Permalink
Browse files
Strip ANSI escape codes from logs in CloudWatch (#9)
Now that we are included step logs, we need to strip the colour escape
sequences.
  • Loading branch information
ashb committed Mar 19, 2021
1 parent b1a93d1 commit 39aec8c75b5e8c1a68da97cf3984335cc27fa986
Showing 1 changed file with 1 addition and 0 deletions.
@@ -288,6 +288,7 @@ write_files:
if err == null {
. = merge(., structured)
.message = strip_ansi_escape_codes!(.message)
.type = "job-output"
}
'''

0 comments on commit 39aec8c

Please sign in to comment.