mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 17:41:28 +00:00
Log disclaimer about connection tests, with link to docs
This commit is contained in:
5
lib/start-proxy-action.js
generated
5
lib/start-proxy-action.js
generated
@@ -122939,6 +122939,10 @@ var NetworkReachabilityBackend = class {
|
||||
async function checkConnections(logger, proxy, backend) {
|
||||
const result = /* @__PURE__ */ new Set();
|
||||
if (proxy.registries.length === 0) return result;
|
||||
logger.startGroup("Testing connections via the proxy");
|
||||
logger.info(
|
||||
`The connection tests performed here are best-effort only and failures here may not affect the subsequent analysis. See ${"https://docs.github.com/en/code-security/reference/code-scanning/code-scanning-logs#diagnostic-information-for-private-package-registries" /* PRIVATE_REGISTRY_LOGS */} for more information.`
|
||||
);
|
||||
try {
|
||||
if (backend === void 0) {
|
||||
backend = new NetworkReachabilityBackend(proxy);
|
||||
@@ -122975,6 +122979,7 @@ async function checkConnections(logger, proxy, backend) {
|
||||
`Failed to test connections to private registries: ${getErrorMessage(e)}`
|
||||
);
|
||||
}
|
||||
logger.endGroup();
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user