Skip to content

Commit b148985

Browse files
[AXON-46] chore: clean up a bit of unused code
1 parent f0f2b38 commit b148985

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/atlclients/responseHandlers/JiraPKCEResponseHandler.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { Logger } from '../../logger';
55
import { ResponseHandler } from './ResponseHandler';
66
import { Strategy } from '../strategy';
77
import { Tokens } from '../tokens';
8-
import { getProxyHostAndPort } from '@atlassianlabs/pi-client-common';
98

109
export class JiraPKCEResponseHandler extends ResponseHandler {
1110
constructor(
@@ -18,13 +17,6 @@ export class JiraPKCEResponseHandler extends ResponseHandler {
1817

1918
async tokens(code: string): Promise<Tokens> {
2019
try {
21-
const [proxyHost, proxyPort] = getProxyHostAndPort();
22-
if (proxyHost.trim() !== '') {
23-
Logger.debug(`using proxy: ${proxyHost}:${proxyPort}`);
24-
} else {
25-
Logger.debug(`no proxy configured in environment`);
26-
}
27-
2820
const tokenResponse = await this.axios(this.strategy.tokenUrl(), {
2921
method: 'POST',
3022
headers: {

0 commit comments

Comments
 (0)