mirror of
https://github.com/github/codeql-action.git
synced 2026-04-27 09:18:47 +00:00
Update JS
This commit is contained in:
Generated
+1
-1
@@ -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.`
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user