Skip to content

Commit

Permalink
[Identity] Formatting and one lint fix, because why not (#11864)
Browse files Browse the repository at this point in the history
  • Loading branch information
sadasant authored Oct 19, 2020
1 parent c20d0b7 commit 356d88e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class ChainedTokenCredential implements TokenCredential {
* `TokenCredential` implementations. Throws an {@link AggregateAuthenticationError}
* when one or more credentials throws an {@link AuthenticationError} and
* no credentials have returned an access token.
*
*
* This method is called automatically by Azure SDK client libraries. You may call this method
* directly, but you must also handle token caching and token refreshing.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export class InteractiveBrowserCredential implements TokenCredential {
let listen: http.Server | undefined;
let socketToDestroy: Socket | undefined;

function cleanup() {
function cleanup(): void {
if (listen) {
listen.close();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ export class ManagedIdentityCredential implements TokenCredential {
logger.getToken.info(formatError(error));
throw error;
}

// Since `authenticateManagedIdentity` didn't throw, and the result was not null,
// We will assume that this endpoint is reachable from this point forward,
// and avoid pinging again to it.
Expand Down

0 comments on commit 356d88e

Please sign in to comment.