Skip to content

Commit

Permalink
More debug values to diagnose error
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-murray authored Oct 11, 2024
1 parent 5b6c23f commit ea9fbe9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/main/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/main/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/post/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/post/index.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions lib/github-application.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,10 @@ function proxyExcluded(noProxy, baseUrl) {
const noProxyHosts = noProxy.split(',').map(part => part.trim());
core.debug(`noProxyHosts = ${JSON.stringify(noProxyHosts)}`);

const baseUrlHost = new URL(baseUrl).host;
core.debug(`base url host = '${baseUrlHost}'`);
const parsedBaseUrl = new URL(baseUrl);
core.debug(`base url host = '${parsedBaseUrl.host}'`);

return noProxyHosts.indexOf(baseUrlHost) > -1;
return noProxyHosts.indexOf(parsedBaseUrl.host) > -1;
}
}

Expand Down

0 comments on commit ea9fbe9

Please sign in to comment.