mirror of
https://github.com/github/codeql-action.git
synced 2026-10-31 18:09:43 +00:00
Add proxy_binary input to start-proxy Action
This allows a custom binary to be used. Mainly for testing.
This commit is contained in:
3
lib/start-proxy-action.js
generated
3
lib/start-proxy-action.js
generated
@@ -112,7 +112,8 @@ async function runWrapper() {
|
||||
ca,
|
||||
};
|
||||
// Start the Proxy
|
||||
const proxyBin = await getProxyBinaryPath();
|
||||
const proxyBin = actionsUtil.getOptionalInput("proxy_binary") ??
|
||||
(await getProxyBinaryPath());
|
||||
await startProxy(proxyBin, proxyConfig, proxyLogFilePath, logger);
|
||||
}
|
||||
async function startProxy(binPath, config, logFilePath, logger) {
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user