Skip to content

Add warnings about CLI hack to codeql.ts - #503

Merged
hmakholm merged 1 commit into
mainfrom
hmakholm/pr/warn-magic-names
May 14, 2021
Merged

Add warnings about CLI hack to codeql.ts#503
hmakholm merged 1 commit into
mainfrom
hmakholm/pr/warn-magic-names

Conversation

@hmakholm

Copy link
Copy Markdown
Contributor

These warnings refer to a hack that was added to the CLI in https://github.com/github/semmle-code/pull/39335

They can be removed again once the CLI has a more principled way for the CLI to recognize that it's being invoked by the runner/action.

@hmakholm
hmakholm requested a review from aeisenbergMay 13, 2021 20:06
Comment threadsrc/codeql.ts Outdated
// configurations. Consequently the name must not be changed.
// (This warning can be removed once a different way to recognize the
// action/runner has been implemented in `codeql database trace-command`
// _and_ is present in the lastest CLI release.)

@aeisenbergaeisenbergMay 14, 2021

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.

And above...

Suggested change
// _and_ is present in the lastest CLI release.)
// _and_ is present in the lastest support CLI release.)

@hmakholm
hmakholmforce-pushed the hmakholm/pr/warn-magic-names branch from 62a82f2 to dafbcbfCompareMay 14, 2021 19:22
These warnings refer to a hack that was added to the CLI in
https://github.com/github/semmle-code/pull/39335
They can be removed again once the CLI has a more principled way for
the CLI to recognize that it's being invoked by the runner/action.
@hmakholm
hmakholmforce-pushed the hmakholm/pr/warn-magic-names branch from dafbcbf to e7d4215CompareMay 14, 2021 19:23
@hmakholm
hmakholm merged commit 21830ef into mainMay 14, 2021
@hmakholm
hmakholm deleted the hmakholm/pr/warn-magic-names branch May 14, 2021 19:57
@github-actionsgithub-actionsBot mentioned this pull request May 17, 2021
Sign up for freeto 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

@hmakholm@aeisenberg