Skip to content

Commit 5a6308f

Browse files
committed
chore: lint
1 parent 8740939 commit 5a6308f

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/auth/impersonated.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,8 @@ export class Impersonated extends OAuth2Client implements IdTokenProvider {
158158

159159
/**
160160
* Refreshes the access token.
161-
* @param refreshToken Unused parameter
162161
*/
163-
protected async refreshToken(
164-
refreshToken?: string | null
165-
): Promise<GetTokenResponse> {
162+
protected async refreshToken(): Promise<GetTokenResponse> {
166163
try {
167164
await this.sourceClient.getAccessToken();
168165
const name = 'projects/-/serviceAccounts/' + this.targetPrincipal;

test/test.downscopedclient.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {describe, it, beforeEach, afterEach} from 'mocha';
1717
import * as nock from 'nock';
1818
import * as sinon from 'sinon';
1919

20-
import {GaxiosError, GaxiosOptions, GaxiosPromise} from 'gaxios';
20+
import {GaxiosError, GaxiosPromise} from 'gaxios';
2121
import {Credentials} from '../src/auth/credentials';
2222
import {StsSuccessfulResponse} from '../src/auth/stscredentials';
2323
import {

0 commit comments

Comments
 (0)