summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-03-25 01:09:35 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-03-25 01:09:35 +0000
commit409626c8f9ec35b197e07ad80497d70f67b318ef (patch)
treed844377f99b8e3c8817771c76ee809811acd60e1
parentb178e3c90e091fc18a8ce96680b9218f35045bb7 (diff)
parentb549aeeae2c18e5c5f47fac3aa751093be51b58a (diff)
downloadktlint-android13-d1-release.tar.gz
Change-Id: Ie4ce01a402743fe3bcdb3dce30a264574a4d928c
-rwxr-xr-xktlint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ktlint.py b/ktlint.py
index 008721d..16bc0f8 100755
--- a/ktlint.py
+++ b/ktlint.py
@@ -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: