tk fmt
is inconsistent in printing final newline
#942
Labels
component/cli
Command Line Interface
good first issue
Good for newcomers
kind/bug
Something isn't working
priority/low
Depending on whether there were any files that had the formatting fixed, a newline won't be printed. If all files checked are already correctly formatted, a trailing newline is printed.
Pretty minor, but figured the inconsistency wasn't intentional. 😄
Example script to demonstrate and outputs:
test.sh
When ran with incorrect formatting
When the files don't need correction
The text was updated successfully, but these errors were encountered: