diff options
author | Bert Belder <bertbelder@gmail.com> | 2018-09-02 23:37:14 +0200 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2018-09-24 13:45:03 -0700 |
commit | 2e3a8b495d5d6c5ad595d65cedafcc2b0d75d559 (patch) | |
tree | 10938fe00a8d5a92190c478eddded382d2c7fea4 /tools/lint.py | |
parent | be8f49b33263238f17d8cbb334a36db6385fced2 (diff) |
tools: make color output work on windows
Diffstat (limited to 'tools/lint.py')
-rwxr-xr-x | tools/lint.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/lint.py b/tools/lint.py index 0ed422241..e5a4f1690 100755 --- a/tools/lint.py +++ b/tools/lint.py @@ -2,7 +2,9 @@ # Does google-lint on c++ files and ts-lint on typescript files import os -from util import run +from util import enable_ansi_colors, run + +enable_ansi_colors() root_path = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) third_party_path = os.path.join(root_path, "third_party") |