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

gradle detektBaseline task fails #2033

Closed
BraisGabin opened this issue Oct 17, 2019 · 1 comment · Fixed by #2034
Closed

gradle detektBaseline task fails #2033

BraisGabin opened this issue Oct 17, 2019 · 1 comment · Fixed by #2034
Milestone

Comments

@BraisGabin
Copy link
Member

Running ./gradlew detektBaseline fails if you has more issues than the permitted issues in your module.

To reproduce this error:

  • clone the detekt project
  • edit any rule file adding an unused import (for example)
  • run ./gradlew detektBaseline the error appears

The expected output should be a succesfully build.

This error was introduced in 1.0.1.

@BraisGabin
Copy link
Member Author

I did a bisect and it seems that the regresion was added at this commit: 3666126 realted with #1818

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

Successfully merging a pull request may close this issue.

3 participants