Skip to content

Commit

Permalink
Remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
01101sam committed Jul 21, 2022
1 parent cf467e2 commit e40c9f6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ class HttpsProxyAgent extends Agent {
private readonly tlsSecureContext: tls.SecureContext | undefined
public readonly proxy: HttpsProxyAgentOptions
private readonly secureEndpoint: boolean
private readonly ca: string | Buffer | Array<string | Buffer> | undefined
public timeout: number | null


Expand All @@ -88,7 +87,6 @@ class HttpsProxyAgent extends Agent {
// Defaults to `false`.
this.secureEndpoint = Boolean(this.proxy.protocol?.startsWith('https'))
this.tlsSecureContext = proxyOptions.tls ? tls.createSecureContext(proxyOptions.tls) : undefined
this.ca = proxyOptions.tls?.ca || proxyOptions.ca || undefined
this.timeout = proxyOptions.timeout ?? null
}

Expand Down

0 comments on commit e40c9f6

Please sign in to comment.