-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improvement: Recreate classloader if scalafix classloading fails
I wasn't able to figure out why this might be happening for people, but usually this happened if scalafix was invoked at a wrong time, running it later would work. I also added reporting and a potential fix for Scalafix cache, since we could have a race updating caches and with getOrElseUpdate we are at least sure the same exact result will be returned.
- Loading branch information
Showing
1 changed file
with
61 additions
and
29 deletions.
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