Skip to content

Commit b97fbb3

Browse files
henrymercerCopilot
andcommitted
Remove CODEQL_PROXY_* workaround for CLIs older than 2.20.7
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 17e7897 commit b97fbb3

2 files changed

Lines changed: 0 additions & 16 deletions

File tree

‎lib/entry-points.js‎

Lines changed: 0 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/analyze-action.ts‎

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -267,17 +267,6 @@ async function run({
267267
);
268268
}
269269

270-
// Unset the CODEQL_PROXY_* environment variables when using older CodeQL
271-
// CLIs, as they are not needed and can cause issues.
272-
if (
273-
process.env.CODEQL_PROXY_HOST === "" &&
274-
!(await util.codeQlVersionAtLeast(codeql, "2.20.7"))
275-
) {
276-
delete process.env.CODEQL_PROXY_HOST;
277-
delete process.env.CODEQL_PROXY_PORT;
278-
delete process.env.CODEQL_PROXY_CA_CERTIFICATE;
279-
}
280-
281270
if (actionsUtil.getOptionalInput("cleanup-level")) {
282271
logger.info(
283272
"The 'cleanup-level' input is ignored since the CodeQL Action now automatically " +

0 commit comments

Comments
 (0)