mirror of
https://github.com/github/codeql-action.git
synced 2026-01-06 14:40:10 +08:00
Include registry type in proxy_urls output
This commit is contained in:
5
lib/start-proxy-action.js
generated
5
lib/start-proxy-action.js
generated
@@ -154,7 +154,10 @@ async function startProxy(binPath, config, logFilePath, logger) {
|
||||
core.setOutput("proxy_ca_certificate", config.ca.cert);
|
||||
const registry_urls = config.all_credentials
|
||||
.filter((credential) => credential.url !== undefined)
|
||||
.map((credential) => credential.url);
|
||||
.map((credential) => ({
|
||||
type: credential.type,
|
||||
url: credential.url,
|
||||
}));
|
||||
core.setOutput("proxy_urls", JSON.stringify(registry_urls));
|
||||
}
|
||||
catch (error) {
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user