Update JS

This commit is contained in:
Michael B. Gale
2026-01-27 14:13:28 +00:00
parent 34cae51104
commit e4e324705e
+1 -1
View File
@@ -103548,7 +103548,7 @@ function getCredentials(logger, registrySecrets, registriesCredentials, language
"Invalid credentials - fields must contain only printable characters"
);
}
if (!isDefined(e.username) && (isDefined(e.password) && isPAT(e.password) || isDefined(e.token) && isPAT(e.token))) {
if (!isDefined2(e.username) && (isDefined2(e.password) && isPAT(e.password) || isDefined2(e.token) && isPAT(e.token))) {
logger.warning(
`A ${e.type} private registry is configured for ${e.host || e.url} using a GitHub Personal Access Token (PAT), but no username was provided. This may not work correctly. When configuring a private registry using a PAT, select "Username and password" and enter the username of the user who generated the PAT.`
);