Remove redundant set of env var

This commit is contained in:
Henry Mercer
2023-07-07 13:06:53 +01:00
parent e1913859f3
commit f6c51a38d7
3 changed files with 1 additions and 3 deletions

1
lib/codeql.js generated
View File

@@ -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;