Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbankhead committed Apr 10, 2024
1 parent 8740939 commit 5a6308f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions src/auth/impersonated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,8 @@ export class Impersonated extends OAuth2Client implements IdTokenProvider {

/**
* Refreshes the access token.
* @param refreshToken Unused parameter
*/
protected async refreshToken(
refreshToken?: string | null
): Promise<GetTokenResponse> {
protected async refreshToken(): Promise<GetTokenResponse> {
try {
await this.sourceClient.getAccessToken();
const name = 'projects/-/serviceAccounts/' + this.targetPrincipal;
Expand Down
2 changes: 1 addition & 1 deletion test/test.downscopedclient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {describe, it, beforeEach, afterEach} from 'mocha';
import * as nock from 'nock';
import * as sinon from 'sinon';

import {GaxiosError, GaxiosOptions, GaxiosPromise} from 'gaxios';
import {GaxiosError, GaxiosPromise} from 'gaxios';
import {Credentials} from '../src/auth/credentials';
import {StsSuccessfulResponse} from '../src/auth/stscredentials';
import {
Expand Down

0 comments on commit 5a6308f

Please sign in to comment.