mirror of
https://github.com/github/codeql-action.git
synced 2026-01-01 20:20:07 +08:00
Remove url from log messages
This commit is contained in:
@@ -95,11 +95,11 @@ export function getAuthorizationHeaderFor(
|
||||
url.startsWith(`${apiDetails.url}/`) ||
|
||||
(apiDetails.apiURL && url.startsWith(`${apiDetails.apiURL}/`))
|
||||
) {
|
||||
logger.debug(`Providing an authorization token for '${url}'.`);
|
||||
logger.debug(`Providing an authorization token.`);
|
||||
return `token ${apiDetails.auth}`;
|
||||
}
|
||||
|
||||
logger.debug(`Requesting '${url}' without an authorization token.`);
|
||||
logger.debug(`Not using an authorization token.`);
|
||||
return undefined;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user