summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-03-25 01:10:29 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-03-25 01:10:29 +0000
commit14f4bdeee0a2f7c32c04238a9dbe8342aa75e223 (patch)
treed844377f99b8e3c8817771c76ee809811acd60e1
parent7fc3df85af733c8035bfe6d7e290ca171d548fbc (diff)
parentb549aeeae2c18e5c5f47fac3aa751093be51b58a (diff)
downloadktlint-android13-release.tar.gz
Change-Id: If66565555651e12775a606dcbbd7af19c3e5b466
-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: