From f4093c3a9d8e9267e0b16eecd3b25aa7b5d34b20 Mon Sep 17 00:00:00 2001 From: Stan Dzhumaev Date: Fri, 14 Feb 2025 17:05:48 -0800 Subject: [PATCH] [AXON-46] chore: clean up a bit of unused code --- .../responseHandlers/JiraPKCEResponseHandler.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/atlclients/responseHandlers/JiraPKCEResponseHandler.ts b/src/atlclients/responseHandlers/JiraPKCEResponseHandler.ts index 7ddae5ca..f8400c33 100644 --- a/src/atlclients/responseHandlers/JiraPKCEResponseHandler.ts +++ b/src/atlclients/responseHandlers/JiraPKCEResponseHandler.ts @@ -5,7 +5,6 @@ import { Logger } from '../../logger'; import { ResponseHandler } from './ResponseHandler'; import { Strategy } from '../strategy'; import { Tokens } from '../tokens'; -import { getProxyHostAndPort } from '@atlassianlabs/pi-client-common'; export class JiraPKCEResponseHandler extends ResponseHandler { constructor( @@ -18,13 +17,6 @@ export class JiraPKCEResponseHandler extends ResponseHandler { async tokens(code: string): Promise { try { - const [proxyHost, proxyPort] = getProxyHostAndPort(); - if (proxyHost.trim() !== '') { - Logger.debug(`using proxy: ${proxyHost}:${proxyPort}`); - } else { - Logger.debug(`no proxy configured in environment`); - } - const tokenResponse = await this.axios(this.strategy.tokenUrl(), { method: 'POST', headers: {