Skip to content

Commit 434735a

Browse files
committed
Skip proxy if no credentials
1 parent f6d19ed commit 434735a

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

lib/start-proxy-action.js

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

lib/start-proxy-action.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/start-proxy-action.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,11 @@ async function runWrapper() {
106106
.join("\n")}`,
107107
);
108108

109+
if (credentials.length === 0) {
110+
logger.info("No credentials found, skipping proxy setup.");
111+
return;
112+
}
113+
109114
const ca = generateCertificateAuthority();
110115
const proxyAuth = getProxyAuth();
111116

0 commit comments

Comments
 (0)