diff options
author | Xin Li <delphij@google.com> | 2023-03-13 23:10:55 -0700 |
---|---|---|
committer | Xin Li <delphij@google.com> | 2023-03-13 23:10:55 -0700 |
commit | 2d6ada7f40408f9980ed65a62087d5a903d2f4ba (patch) | |
tree | 9e617a7516435622ea67a4839fade272c6c6592c | |
parent | 732c9702b21ec9c00390a07eceac618206965b35 (diff) | |
parent | c431a78e6c3dff3faea337fb2fa03900cdf148c2 (diff) | |
download | ktfmt-2d6ada7f40408f9980ed65a62087d5a903d2f4ba.tar.gz |
Merge Android 13 QPR2android-u-beta-1-gpl
Bug: 273316506
Merged-In: Ibc337e4459d8db789f0b2102b71a8b2e1ed2589f
Change-Id: I1194cf6d5efb45e7c6aa69aa1234ebc599be32c6
-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( '**********************************************************************' |