Skip to content

Commit 14b9c0e

Browse files
authored
Merge pull request #2740 from github/revert-2724-marcogario/skip_proxy
Revert "start-proxy: Skip proxy setup if no credentials are available"
2 parents 54b1c84 + 7fdc1b8 commit 14b9c0e

File tree

3 files changed

+1
-11
lines changed

3 files changed

+1
-11
lines changed

lib/start-proxy-action.js

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

lib/start-proxy-action.js.map

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

src/start-proxy-action.ts

-6
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,6 @@ async function runWrapper() {
9999
actionsUtil.getOptionalInput("registries_credentials"),
100100
actionsUtil.getOptionalInput("language"),
101101
);
102-
103-
if (credentials.length === 0) {
104-
logger.info("No credentials found, skipping proxy setup.");
105-
return;
106-
}
107-
108102
logger.info(
109103
`Credentials loaded for the following registries:\n ${credentials
110104
.map((c) => credentialToStr(c))

0 commit comments

Comments
 (0)