FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Use the `--sarif-include-query-help` option when supported by henrymercer · Pull Request #2191 · github/codeql-action · GitHub

Use the --sarif-include-query-help option when supported - #2191

Merged
henrymercer merged 1 commit into
mainfrom
henrymercer/use-include-query-help-flag
Mar 11, 2024
Merged

henrymercer merged 1 commit into
mainfrom
henrymercer/use-include-query-help-flag

Conversation

Copy link
Copy Markdown
Contributor

This avoids a deprecation warning appearing in the logs.

Merge / deployment checklist

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

henrymercer requested a review from a team as a code owner March 11, 2024 18:33

aeisenberg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM with a minor suggestion.

Comment thread src/codeql.ts

async function getCodeScanningQueryHelpArguments(
codeql: CodeQL,
): Promise<string[]> {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Minor: This can return Promise<string> and the use above can remove the ....

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

That's true, but there's also something to be said for having these helper functions consistently return string[] 🤔 I think I'll leave as is.

henrymercer merged commit 69e120d into main Mar 11, 2024
henrymercer deleted the henrymercer/use-include-query-help-flag branch March 11, 2024 18:57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL