Skip to content

Commit

Permalink
fix: update import of HttpsProxyAgent
Browse files Browse the repository at this point in the history
  • Loading branch information
ericapisani committed Apr 23, 2024
1 parent 9646f8a commit d04ebc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/http-agent.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { readFile } from 'fs/promises'

import HttpsProxyAgent from 'https-proxy-agent'
import { HttpsProxyAgent } from 'https-proxy-agent'
import waitPort from 'wait-port'

import { NETLIFYDEVERR, NETLIFYDEVWARN, exit, log } from '../utils/command-helpers.js'
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/lib/http-agent.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import http from 'http'

import ProxyServer from 'http-proxy'
import HttpsProxyAgent from 'https-proxy-agent'
import { HttpsProxyAgent } from 'https-proxy-agent'
import { describe, expect, test } from 'vitest'

import { tryGetAgent } from '../../../dist/lib/http-agent.js'
Expand Down

0 comments on commit d04ebc8

Please sign in to comment.