Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running "fix" on an empty module fails #4006

Open
HilcoWijbenga opened this issue Nov 21, 2024 · 0 comments
Open

Running "fix" on an empty module fails #4006

HilcoWijbenga opened this issue Nov 21, 2024 · 0 comments

Comments

@HilcoWijbenga
Copy link

A project with just this build.mill (using Mill 0.12.2) dies on ./mill __.fix.

package build

import $ivy.`com.goyeau::mill-scalafix::0.4.2`
import com.goyeau.mill.scalafix.ScalafixModule
import mill.scalalib.SbtModule

object main extends SbtModule with ScalafixModule {
    def scalaVersion = "2.13.15"
}

It might seem strange not to have any sources in a module but I have a couple of "aggregation" modules that simply list other modules that they depend on. This used to work fine (pre 0.12).

Adding a single source file makes the problem go away ... but then I have a useless source file. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant