Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Reducing warnings does not reduce assessed count #7

Open
zainab-ali opened this issue Nov 26, 2019 · 1 comment
Open

Reducing warnings does not reduce assessed count #7

zainab-ali opened this issue Nov 26, 2019 · 1 comment

Comments

@zainab-ali
Copy link
Owner

Following the error message:

[error] The number of warnings has increased from 5 to 7. Please reduce warnings in your project.

If I reduce the number of warnings by 2, I still get the message:

[error] The number of warnings has increased from 5 to 7. Please reduce warnings in your project.

This implies that the plugin is counting stale warnings.

@zainab-ali
Copy link
Owner Author

It's possible that getReportedProblems returns stale information. The logic is identical to the printWarnings task. It would be worth comparing the printWarnings output with the warning count.

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

No branches or pull requests

1 participant