Autocorrect reports success even though nothing happens #466
Closed
Description
When I call swiftlint autocorrect
I get a report like this:
.
.
.
/Source/TabBarController.swift:51:25 Corrected Comma Spacing
/Source/TabBarController.swift:50:67 Corrected Comma Spacing
/Source/TabBarController.swift:49:101 Corrected Comma Spacing
Done correcting 30 files!
But no file is modified,
I noticed it happens with
Statement Position and Comma Spacing, but there might be more.
Other rules get corrected corectly. It would be nice to at least to not display the success message if the rule fails to correct the error. It's a bit confusing.
Thanks