Skip to content

[error] bad option: -P:silencer:checkUnused in Compile / doc #40

Description

@solarmosaic-kflorence

Just wanted to note that adding this flag to scalacOptions caused an error when trying to generate docs (sbt doc). To fix, I have removed this flag from Compile / doc scope in build.sbt like so:

scalacOptions in(Compile, doc) := scalacOptions.value.filterNot(Seq("-P:silencer:checkUnused").contains)

Although perhaps the flag could also only be applied to the Compile / compile scope:

scalacOptions in(Compile, compile) ++= Seq("-P:silencer:checkUnused")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions