Skip to content

Conversation

henrymercer
Copy link
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 henrymercer requested a review from a team as a code owner March 11, 2024 18:33
Copy link
Contributor

@aeisenberg aeisenberg left a comment

Choose a reason for hiding this comment

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

LGTM with a minor suggestion.


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

Choose a reason for hiding this comment

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

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

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 henrymercer merged commit 69e120d into main Mar 11, 2024
@henrymercer henrymercer deleted the henrymercer/use-include-query-help-flag branch March 11, 2024 18:57
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