-
Notifications
You must be signed in to change notification settings - Fork 463
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ImportOrderStep reads its config file eagerly, rather than lazily #218
Comments
I suspect the easiest fix would be to make |
...and then memoize the result of this supplier somehow. |
|
Cheers for tackling this, @nedtwigg. :) |
Published in 3.18.0 |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
spotless/lib/src/main/java/com/diffplug/spotless/java/ImportOrderStep.java
Lines 56 to 59 in 995b6a9
It shouldn't read the file until its state is calculated. First discovered in #217.
The text was updated successfully, but these errors were encountered: