diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-04-07 17:44:39 +0200 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2023-04-07 17:44:39 +0200 |
commit | 2805f7b36d2c09de6407355bf4569e4e5eb1dcb1 (patch) | |
tree | 0cedfdca1233a06b76aa0ab363b8ee5430a5827c /editor/import_defaults_editor.cpp | |
parent | 589c32ec557edbe53c0ab7f0bf45058a7340b5ba (diff) |
CI: Visibly print trailing whitespace when static checks fail
GitHub Actions seems to be hiding colored whitespace, and after lots of
attempts I couldn't find a way to work it around.
So instead I'm using a perl expression to replace trailing spaces with
`·` and tabs with `<TAB>` in the ANSI colored diff output. This ensure
that they're visible, and they are properly colored as expected too.
(cherry picked from commit 266280ffca218ae1c86e6d83d9b67a16086148b8)
Diffstat (limited to 'editor/import_defaults_editor.cpp')
0 files changed, 0 insertions, 0 deletions