mirror of
https://github.com/github/codeql-action.git
synced 2026-10-21 02:01:27 +00:00
Revert "start-proxy: Skip proxy setup if no credentials are available"
This commit is contained in:
4
lib/start-proxy-action.js
generated
4
lib/start-proxy-action.js
generated
@@ -99,10 +99,6 @@ async function runWrapper() {
|
||||
core.saveState("proxy-log-file", proxyLogFilePath);
|
||||
// Get the configuration options
|
||||
const credentials = (0, start_proxy_1.getCredentials)(logger, actionsUtil.getOptionalInput("registry_secrets"), actionsUtil.getOptionalInput("registries_credentials"), actionsUtil.getOptionalInput("language"));
|
||||
if (credentials.length === 0) {
|
||||
logger.info("No credentials found, skipping proxy setup.");
|
||||
return;
|
||||
}
|
||||
logger.info(`Credentials loaded for the following registries:\n ${credentials
|
||||
.map((c) => credentialToStr(c))
|
||||
.join("\n")}`);
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user