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

Add new configuration option to control clearing of diagnostics #1870

Merged
merged 3 commits into from
Feb 26, 2024

Conversation

worksofliam
Copy link
Contributor

Changes

Adds the ability to keep diagnostics from other files around when running an Action.

Checklist

  • have tested my change
  • updated relevant documentation
  • Remove any/all console.logs I added
  • eslint is not complaining
  • have added myself to the contributors' list in CONTRIBUTING.md
  • for feature PRs: PR only includes one feature enhancement.

Signed-off-by: worksofliam <mrliamallan@live.co.uk>
@worksofliam worksofliam added this to the 2.8.0 milestone Feb 23, 2024
@chrjorgensen
Copy link
Collaborator

I just had a quick glance at your change - and thought: Shouldn't the control clearAllErrorsAfterBuild be named something like ``clearErrorsBeforeBuild`?

clearAllErrorsAfterBuild seems opposite to me of what you're doing. You're clearing errors after the build/action is run - but rather before it is run.

@worksofliam
Copy link
Contributor Author

@chrjorgensen You're completely right. Thanks for pointing me in the right direction!

Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Copy link
Collaborator

@chrjorgensen chrjorgensen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@worksofliam LGTM - and works as expected (when your typo is removed). 👍

No new review is required after removal of the typo, you can merge at will.

src/api/errors/parser.ts Outdated Show resolved Hide resolved
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
@chrjorgensen
Copy link
Collaborator

@worksofliam Still works... 👍 ...will approve and merge. 🚀

@chrjorgensen chrjorgensen merged commit c083039 into master Feb 26, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants