summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-04-06 20:40:48 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-04-06 20:40:48 +0000
commit228fe8843ec6de91bd993058f214bae09bbd4aee (patch)
treed844377f99b8e3c8817771c76ee809811acd60e1
parent88bbf20308ccbdcd58e00fea3592d522940de792 (diff)
parentb549aeeae2c18e5c5f47fac3aa751093be51b58a (diff)
downloadktlint-228fe8843ec6de91bd993058f214bae09bbd4aee.tar.gz
Snap for 8414339 from b549aeeae2c18e5c5f47fac3aa751093be51b58a to tm-qpr1-release
Change-Id: I79f9da971d434b6a2b7f0b7f44f4836b131edfc1
-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: