aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-10-18 23:14:09 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-10-18 23:14:09 +0000
commita97ba8249fa2e0c233d10758e663bb8cc3da5fa9 (patch)
treea4e84436d2b6a72b6867191e7b90bc18e5cb05c5
parent9bb3fbc766c4511bc4fd49526a453a2d7dd10ba6 (diff)
parentbdb0b8d3fa4d4442fde0d38193abda49271cdf61 (diff)
downloadktfmt-a97ba8249fa2e0c233d10758e663bb8cc3da5fa9.tar.gz
Change-Id: I29909148bae8b307357a5500d5cd383442f39ac2
-rwxr-xr-xktfmt.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ktfmt.py b/ktfmt.py
index 88a8002..3d337bb 100755
--- a/ktfmt.py
+++ b/ktfmt.py
@@ -108,8 +108,9 @@ def main():
'**********************************************************************'
)
print(
- 'Some Kotlin files are not properly formatted. Run the following command to format them:\n\n'
- )
+ 'Some Kotlin files are not properly formatted. Run the command below to format them.\n'
+ 'Note: If you are using the Android Studio ktfmt plugin, make sure to select the '
+ 'Kotlinlang style in \'Editor > ktfmt Settings\'.\n')
script_path = os.path.normpath(__file__)
incorrect_files = [
os.path.abspath(file) for file in stdout.decode('utf-8').splitlines()