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

scapegoatMaxErrors not working #96

Open
chandu-atina opened this issue Mar 5, 2020 · 2 comments
Open

scapegoatMaxErrors not working #96

chandu-atina opened this issue Mar 5, 2020 · 2 comments

Comments

@chandu-atina
Copy link

I set the scapegoatMaxErrors value to 1 in my build.sbt to fail the build if there are any errors. I have 5 errors but still the build succeeds.
ThisBuild / scapegoatMaxErrors := 1
addSbtPlugin("com.sksamuel.scapegoat" %% "sbt-scapegoat" % "1.1.0")
scalaVersion := "2.11.8"

@mwz
Copy link

mwz commented Mar 5, 2020

This setting doesn't appear to be currently respected, see the search results and this issue for a reference.

@chandu-atina
Copy link
Author

@mwz You are right I looked at the usage of scapegoatMaxErrors setting in the code. It is not referred anywhere apart from plugin definition

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

2 participants