Skip to content

Commit c02b960

Browse files
committed
Fix import of ProxyAgent after upgrade
Change-Id: I1f90cbb7ccf5fb5dce2f7f1093ff0b2c9f82aa22
1 parent c693116 commit c02b960

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/loaders/commonConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const express = require( 'express' );
44
const BBPromise = require( 'bluebird' );
55
const fs = BBPromise.promisifyAll( require( 'fs' ) );
66
const yaml = require( 'js-yaml' );
7-
const ProxyAgent = require( 'proxy-agent' );
7+
const ProxyAgent = require( 'proxy-agent' ).ProxyAgent;
88
const sUtil = require( '../lib/routing' );
99
const apiUtil = require( '../lib/api-util' );
1010

0 commit comments

Comments
 (0)