mirror of
https://github.com/github/codeql-action.git
synced 2025-12-23 07:40:10 +08:00
Remove redundant set of env var
This commit is contained in:
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 ` +
|
`${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 " +
|
"'github/codeql-action/*@v2.20.4' in your code scanning workflow to ensure you continue " +
|
||||||
"using this version of the CodeQL Action.");
|
"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");
|
core.exportVariable(environment_1.EnvVar.SUPPRESS_DEPRECATED_SOON_WARNING, "true");
|
||||||
}
|
}
|
||||||
return codeql;
|
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 " +
|
"'github/codeql-action/*@v2.20.4' in your code scanning workflow to ensure you continue " +
|
||||||
"using this version of the CodeQL Action."
|
"using this version of the CodeQL Action."
|
||||||
);
|
);
|
||||||
process.env[EnvVar.SUPPRESS_DEPRECATED_SOON_WARNING] = "true";
|
|
||||||
core.exportVariable(EnvVar.SUPPRESS_DEPRECATED_SOON_WARNING, "true");
|
core.exportVariable(EnvVar.SUPPRESS_DEPRECATED_SOON_WARNING, "true");
|
||||||
}
|
}
|
||||||
return codeql;
|
return codeql;
|
||||||
|
|||||||
Reference in New Issue
Block a user