Skip to content

Commit 88ff4e3

Browse files
committed
Clean-up logic for overriding proxy
1 parent efffb48 commit 88ff4e3

File tree

3 files changed

+1
-18
lines changed

3 files changed

+1
-18
lines changed

lib/analyze-action.js

-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analyze-action.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/analyze-action.ts

-9
Original file line numberDiff line numberDiff line change
@@ -202,15 +202,6 @@ async function run() {
202202
let didUploadTrapCaches = false;
203203
util.initializeEnvironment(actionsUtil.getActionVersion());
204204

205-
// Unset the CODEQL_PROXY_* environment variables, as they are not needed
206-
// and can cause issues with the CodeQL CLI
207-
// Check for CODEQL_PROXY_HOST: and if it is empty but set, unset it
208-
if (process.env.CODEQL_PROXY_HOST === "") {
209-
delete process.env.CODEQL_PROXY_HOST;
210-
delete process.env.CODEQL_PROXY_PORT;
211-
delete process.env.CODEQL_PROXY_CA_CERTIFICATE;
212-
}
213-
214205
// Make inputs accessible in the `post` step, details at
215206
// https://github.com/github/codeql-action/issues/2553
216207
actionsUtil.persistInputs();

0 commit comments

Comments
 (0)