diff options
author | Xin Li <delphij@google.com> | 2023-01-11 22:47:00 -0800 |
---|---|---|
committer | Xin Li <delphij@google.com> | 2023-01-11 22:47:00 -0800 |
commit | 1f0381665f710b20da99052aa12b3bc3b354eefd (patch) | |
tree | a4e84436d2b6a72b6867191e7b90bc18e5cb05c5 | |
parent | 92603bb80098d519f3cb03543ba53219aca8739e (diff) | |
parent | b51cf4d044c595fb1644ca93108cf6591b8c5370 (diff) | |
download | ktfmt-1f0381665f710b20da99052aa12b3bc3b354eefd.tar.gz |
Merge tm-qpr-dev-plus-aosp-without-vendor@9467136
Bug: 264720040
Merged-In: Ibc337e4459d8db789f0b2102b71a8b2e1ed2589f
Change-Id: Icd4f310d122670281b95d62ba57a9f93bc05a5c4
-rwxr-xr-x | ktfmt.py | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -108,10 +108,13 @@ 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 = stdout.decode('utf-8').splitlines() + incorrect_files = [ + os.path.abspath(file) for file in stdout.decode('utf-8').splitlines() + ] print('$ ' + script_path + ' ' + ' '.join(incorrect_files) + '\n') print( '**********************************************************************' |