diff options
author | Dave Mankoff <mankoff@google.com> | 2022-03-23 12:09:40 -0400 |
---|---|---|
committer | Dave Mankoff <mankoff@google.com> | 2022-03-23 12:09:40 -0400 |
commit | bfc4cbe9593d1fcae7b225b947637c9c019091a2 (patch) | |
tree | d844377f99b8e3c8817771c76ee809811acd60e1 /ktlint.py | |
parent | df4d427876a16cb590ae286733f6d0513c5b59ac (diff) | |
download | ktlint-bfc4cbe9593d1fcae7b225b947637c9c019091a2.tar.gz |
Fix ktlint formatting.
Decode it as utf-8 to fix the output.
Fixes: 226370498
Test: manual
Change-Id: Ia4317fe445c6705dbf24bdc57a7f4a88f7ebc0f5
Diffstat (limited to 'ktlint.py')
-rwxr-xr-x | ktlint.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -60,7 +60,7 @@ def main(args=None): stdout, _ = check.communicate() if stdout: print('prebuilts/ktlint found errors in files you changed:') - print(stdout) + print(stdout.decode('utf-8')) print(FORMAT_MESSAGE.format(MAIN_DIRECTORY, ' '.join(kt_files))) sys.exit(1) else: |