File tree 2 files changed +0
-4
lines changed 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change 28
28
29
29
/* eslint-disable @typescript-eslint/explicit-member-accessibility */
30
30
/* eslint-disable @typescript-eslint/no-unused-vars */
31
- import assert from 'assert' ;
32
31
import type * as http from 'http' ;
33
32
import type { OutgoingHttpHeaders } from 'http' ;
34
33
import * as net from 'net' ;
@@ -190,8 +189,6 @@ export class HttpsProxyAgent<Uri extends string> extends Agent {
190
189
// Need to wait for the "socket" event to re-play the "data" events.
191
190
req . once ( 'socket' , ( s : net . Socket ) => {
192
191
debug ( 'Replaying proxy buffer for failed request' ) ;
193
- assert ( s . listenerCount ( 'data' ) > 0 ) ;
194
-
195
192
// Replay the "buffered" Buffer onto the fake `socket`, since at
196
193
// this point the HTTP module machinery has been hooked up for
197
194
// the user.
Original file line number Diff line number Diff line change 2
2
"extends" : " ./packages/typescript/tsconfig.json" ,
3
3
4
4
"compilerOptions" : {
5
- "allowSyntheticDefaultImports" : true ,
6
5
"declaration" : false ,
7
6
"declarationMap" : false ,
8
7
"skipLibCheck" : true ,
You can’t perform that action at this time.
0 commit comments