File tree 1 file changed +0
-6
lines changed
1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -66,13 +66,11 @@ function requireBinding(targets: Array<string>): Quiche {
66
66
) ;
67
67
for ( const prebuildTarget of prebuildTargets ) {
68
68
try {
69
- console . log ( 'trying path' , prebuildTarget ) ;
70
69
return require ( prebuildTarget ) ;
71
70
} catch ( e ) {
72
71
if ( e . code !== 'MODULE_NOT_FOUND' ) throw e ;
73
72
}
74
73
try {
75
- console . log ( 'trying path' , url . pathToFileURL ( prebuildTarget ) . href ) ;
76
74
return require ( url . pathToFileURL ( prebuildTarget ) . href ) ;
77
75
} catch ( e ) {
78
76
if ( e . code !== 'MODULE_NOT_FOUND' ) throw e ;
@@ -81,13 +79,11 @@ function requireBinding(targets: Array<string>): Quiche {
81
79
const npmTargets = targets . map ( ( target ) => `@matrixai/quic-${ target } ` ) ;
82
80
for ( const npmTarget of npmTargets ) {
83
81
try {
84
- console . log ( 'trying path' , npmTarget ) ;
85
82
return require ( npmTarget ) ;
86
83
} catch ( e ) {
87
84
if ( e . code !== 'MODULE_NOT_FOUND' ) throw e ;
88
85
}
89
86
try {
90
- console . log ( 'trying path' , url . pathToFileURL ( npmTarget ) . href ) ;
91
87
return require ( url . pathToFileURL ( npmTarget ) . href ) ;
92
88
} catch ( e ) {
93
89
if ( e . code !== 'MODULE_NOT_FOUND' ) throw e ;
@@ -165,8 +161,6 @@ switch (process.platform) {
165
161
) ;
166
162
}
167
163
168
- console . log ( 'dirname' , dirname ) ;
169
-
170
164
export default nativeBinding ;
171
165
172
166
export type { Quiche } ;
You can’t perform that action at this time.
0 commit comments