-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix #6274] Don't cache corrected status
Caching auto-correct runs was introduced in #5857. This PR fixes an issue when someone runs auto-correct on a file, but later reverts the corrected offenses. Auto-correct run caches the offenses with status :corrected, and now if someone inspects the reverted file again, the offenses are pulled from the cache with the wrong status. Because of this the offenses get now printed with `[Corrected]`, even though auto-correct was not used.
- Loading branch information
Showing
3 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters