-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
twister: Remove ANSI sequences before writing to handler.log
ANSI color is great for viewing output in a terminal, but currently it also gets written out to the `handler.log` file. Text editors usually don't render these, resulting in a hard-to-read file with a lot of gibberish interspered. This commit strips ANSI sequences from lines before writing them to the handler log file. This change does not affect what is printed in Twister's console output, so one would still see the colors there. Signed-off-by: Tristan Honscheid <[email protected]>
- Loading branch information
1 parent
dab9322
commit 36ad49b
Showing
2 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters