Skip to content

Commit df5fa96

Browse files
Fixing lint error messages
Signed-off-by: divyavanmahajan <[email protected]>
1 parent f117891 commit df5fa96

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/connection/auth/PlainHttpAuthentication.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ export default class PlainHttpAuthentication implements IAuthentication {
3535
private getToken(username: string, password: string): string {
3636
if (this.useAADToken) {
3737
return `Bearer ${password}`;
38-
} else {
39-
return `Basic ${Buffer.from(`${username}:${password}`).toString('base64')}`;
4038
}
39+
return `Basic ${Buffer.from(`${username}:${password}`).toString('base64')}`;
4140
}
4241
}

0 commit comments

Comments
 (0)