Move credentialToStr and add tests

This commit is contained in:
Michael B. Gale
2026-01-29 10:07:51 +00:00
parent b2ff80ddac
commit 2a384c1c14
4 changed files with 32 additions and 9 deletions
+3 -3
View File
@@ -119143,6 +119143,9 @@ async function getDownloadUrl(logger) {
version: UPDATEJOB_PROXY_VERSION
};
}
function credentialToStr(c) {
return `Type: ${c.type}; Host: ${c.host}; Url: ${c.url} Username: ${c.username}; Password: ${c.password !== void 0}; Token: ${c.token !== void 0}`;
}
// src/status-report.ts
var os = __toESM(require("os"));
@@ -119935,9 +119938,6 @@ async function getProxyBinaryPath(logger) {
proxyBin = path.join(proxyBin, proxyFileName);
return proxyBin;
}
function credentialToStr(c) {
return `Type: ${c.type}; Host: ${c.host}; Url: ${c.url} Username: ${c.username}; Password: ${c.password !== void 0}; Token: ${c.token !== void 0}`;
}
void runWrapper();
/*! Bundled license information: