Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bwieger-atlassian-com committed Dec 17, 2024
1 parent 5961e2f commit c97f3e6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/atlclients/clientManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,15 +219,15 @@ export class ClientManager implements Disposable {
private createHTTPClient(site: DetailedSiteInfo, info: AuthInfo): HTTPClient {
let auth = '';
if (isBasicAuthInfo(info)) {
Logger.info("Using Username and Password Auth");
Logger.info('Using Username and Password Auth');
auth = `Basic ${Buffer.from(info.username + ':' + info.password).toString('base64')}`;
} else if (isPATAuthInfo(info)) {
Logger.info("Using PAT Auth");
Logger.info('Using PAT Auth');
auth = `Bearer ${info.token}`;
} else {
Logger.warn("Auth format not recognized");
Logger.warn('Auth format not recognized');
}

return new HTTPClient(
site.baseApiUrl,
auth,
Expand Down

0 comments on commit c97f3e6

Please sign in to comment.