summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-03-29 05:58:02 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-03-29 05:58:02 +0000
commit20f88f71eade18eee7e287ac1523ad32ba20c58e (patch)
treed844377f99b8e3c8817771c76ee809811acd60e1
parent88bbf20308ccbdcd58e00fea3592d522940de792 (diff)
parenta407992cf4906d2228f8fbd4beb5605f6bdab0a8 (diff)
downloadktlint-aml_ase_331311020.tar.gz
Snap for 8374152 from a407992cf4906d2228f8fbd4beb5605f6bdab0a8 to mainline-appsearch-releaseaml_ase_331311020aml_ase_331112000aml_ase_331011020android13-mainline-appsearch-release
Change-Id: I158d56b7ff750eca8849c817889927f8c8a5824b
-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: