mirror of
https://github.com/github/codeql-action.git
synced 2025-12-31 19:50:32 +08:00
Warn if the add-snippets input is used
This commit is contained in:
@@ -324,6 +324,13 @@ async function run() {
|
||||
);
|
||||
|
||||
if (actionsUtil.getRequiredInput("skip-queries") !== "true") {
|
||||
// Warn if the removed `add-snippets` input is used.
|
||||
if (actionsUtil.getOptionalInput("add-snippets") !== undefined) {
|
||||
logger.warning(
|
||||
"The `add-snippets` input has been removed and no longer has any effect.",
|
||||
);
|
||||
}
|
||||
|
||||
runStats = await runQueries(
|
||||
outputDir,
|
||||
memory,
|
||||
|
||||
Reference in New Issue
Block a user