Skip to content

Commit 8e5f95b

Browse files
committed
fix: cleaning up console logs
1 parent aa1d983 commit 8e5f95b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/native/quiche.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff 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-
170164
export default nativeBinding;
171165

172166
export type { Quiche };

0 commit comments

Comments
 (0)