Closed lolgab closed 1 month ago
@bjaglin Do you mind reviewing it?
@lefou Maybe if I make it a Worker
it can be cleaned thanks to https://github.com/com-lihaoyi/mill/pull/3579 ?
What do you think?
Oh but fixAction
is not a Task
. I'm going to merge and release as is. Then for 0.5
we could think about making fixAction
a task.
@lolgab Yeah, a Worker
which returns a AutoClosable
is the go-to solution. Since you share the `Scalafix instances, you probably need some reference counting, too, to not close instances still in use.
Fixes https://github.com/joan38/mill-scalafix/issues/175