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

Clarify the missing baseline lines of code warning message #475

Merged
merged 2 commits into from
May 5, 2021

Conversation

aeisenberg
Copy link
Contributor

See github/codeql#5838

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.

src/count-loc.ts Outdated Show resolved Hide resolved
src/count-loc.ts Outdated Show resolved Hide resolved
src/count-loc.ts Outdated Show resolved Hide resolved
@aeisenberg aeisenberg force-pushed the aeisenberg/warning-message branch 2 times, most recently from 18e4667 to 9228317 Compare May 5, 2021 15:46
Copy link
Contributor

@henrymercer henrymercer left a comment

Choose a reason for hiding this comment

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

Couple more suggestions on the message

src/count-loc.ts Outdated Show resolved Hide resolved
src/count-loc.ts Outdated Show resolved Hide resolved
src/count-loc.ts Outdated Show resolved Hide resolved
src/count-loc.ts Outdated Show resolved Hide resolved
@aeisenberg
Copy link
Contributor Author

All good suggestions.

@adityasharad
Copy link
Contributor

Do you want to keep this at the warning level (which makes it visible in the Actions summary page), or drop it down to info/debug so it's only present in the logs view?

@aeisenberg
Copy link
Contributor Author

Hmmm...didn't realize that this would be raised to being visible in the summary page. This is a good point. I'll drop down its verbosity.

@aeisenberg
Copy link
Contributor Author

A debug message won't appear at all unless the debug flag is set to true. I'd be leaning towards using an info message.

@aeisenberg aeisenberg merged commit 5321045 into main May 5, 2021
@aeisenberg aeisenberg deleted the aeisenberg/warning-message branch May 5, 2021 18:20
@github-actions github-actions bot mentioned this pull request May 10, 2021
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.

3 participants