File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 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 {
6666 ) ;
6767 for ( const prebuildTarget of prebuildTargets ) {
6868 try {
69- console . log ( 'trying path' , prebuildTarget ) ;
7069 return require ( prebuildTarget ) ;
7170 } catch ( e ) {
7271 if ( e . code !== 'MODULE_NOT_FOUND' ) throw e ;
7372 }
7473 try {
75- console . log ( 'trying path' , url . pathToFileURL ( prebuildTarget ) . href ) ;
7674 return require ( url . pathToFileURL ( prebuildTarget ) . href ) ;
7775 } catch ( e ) {
7876 if ( e . code !== 'MODULE_NOT_FOUND' ) throw e ;
@@ -81,13 +79,11 @@ function requireBinding(targets: Array<string>): Quiche {
8179 const npmTargets = targets . map ( ( target ) => `@matrixai/quic-${ target } ` ) ;
8280 for ( const npmTarget of npmTargets ) {
8381 try {
84- console . log ( 'trying path' , npmTarget ) ;
8582 return require ( npmTarget ) ;
8683 } catch ( e ) {
8784 if ( e . code !== 'MODULE_NOT_FOUND' ) throw e ;
8885 }
8986 try {
90- console . log ( 'trying path' , url . pathToFileURL ( npmTarget ) . href ) ;
9187 return require ( url . pathToFileURL ( npmTarget ) . href ) ;
9288 } catch ( e ) {
9389 if ( e . code !== 'MODULE_NOT_FOUND' ) throw e ;
@@ -165,8 +161,6 @@ switch (process.platform) {
165161 ) ;
166162}
167163
168- console . log ( 'dirname' , dirname ) ;
169-
170164export default nativeBinding ;
171165
172166export type { Quiche } ;
You can’t perform that action at this time.
0 commit comments