Skip to content

Commit 63a4a00

Browse files
🧹 [Remove leftover console.log in workerFactory]
Co-authored-by: zknpr <96851588+zknpr@users.noreply.github.com>
1 parent 189aee5 commit 63a4a00

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/workerFactory.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export async function createDatabaseConnection(
112112
const extensionPath = extensionUri.fsPath;
113113
if (await nativeSupport.isNativeAvailable(extensionPath)) {
114114
try {
115-
console.log('[SQLite Explorer] Using native SQLite backend');
115+
if (GlobalOutputChannel) GlobalOutputChannel.appendLine('[SQLite Explorer] Using native SQLite backend');
116116
const nativeBundle = await nativeSupport.createNativeDatabaseConnection(extensionUri, _reporter);
117117

118118
// Wrap the native bundle to provide fallback to WASM if file open fails
@@ -144,7 +144,7 @@ export async function createDatabaseConnection(
144144
}
145145

146146
// Fall back to WASM (sql.js)
147-
console.log('[SQLite Explorer] Using WebAssembly SQLite backend');
147+
if (GlobalOutputChannel) GlobalOutputChannel.appendLine('[SQLite Explorer] Using WebAssembly SQLite backend');
148148
return createWasmDatabaseConnection(extensionUri, _reporter);
149149
}
150150

0 commit comments

Comments
 (0)