Remove redundant set of env var
This commit is contained in:
parent
e1913859f3
commit
f6c51a38d7
3 changed files with 1 additions and 3 deletions
1
lib/codeql.js
generated
1
lib/codeql.js
generated
|
|
@ -649,7 +649,6 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
|||
`${await codeql.getVersion()}, you can replace 'github/codeql-action/*@v2' by ` +
|
||||
"'github/codeql-action/*@v2.20.4' in your code scanning workflow to ensure you continue " +
|
||||
"using this version of the CodeQL Action.");
|
||||
process.env[environment_1.EnvVar.SUPPRESS_DEPRECATED_SOON_WARNING] = "true";
|
||||
core.exportVariable(environment_1.EnvVar.SUPPRESS_DEPRECATED_SOON_WARNING, "true");
|
||||
}
|
||||
return codeql;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1056,7 +1056,6 @@ export async function getCodeQLForCmd(
|
|||
"'github/codeql-action/*@v2.20.4' in your code scanning workflow to ensure you continue " +
|
||||
"using this version of the CodeQL Action."
|
||||
);
|
||||
process.env[EnvVar.SUPPRESS_DEPRECATED_SOON_WARNING] = "true";
|
||||
core.exportVariable(EnvVar.SUPPRESS_DEPRECATED_SOON_WARNING, "true");
|
||||
}
|
||||
return codeql;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue