summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-04-28 16:20:05 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-04-28 16:20:05 +0000
commitf27ce8ec62752e13123d69f853db381731610650 (patch)
treed844377f99b8e3c8817771c76ee809811acd60e1
parentfd430f3966bda7e265a9bffa81a608e53a040dd4 (diff)
parentb549aeeae2c18e5c5f47fac3aa751093be51b58a (diff)
downloadktlint-android13-frc-neuralnetworks-release.tar.gz
Snap for 8512216 from b549aeeae2c18e5c5f47fac3aa751093be51b58a to tm-frc-neuralnetworks-releaset_frc_neu_330443030t_frc_neu_330443000android13-frc-neuralnetworks-release
Change-Id: Id6126f02e257e14fcd3ca3d1934069d47090d3e3
-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: