Skip to content

Commit 06fc4b5

Browse files
committed
Replace console.log with debug in parser.ts
Use the debug library for logging in the SQL parser instead of console.log to maintain consistent logging approach throughout the codebase.
1 parent 2d5e80f commit 06fc4b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ export class SqlParserImpl implements SqlParser {
225225
if (this._nestedFieldReplacements.length > placeholderIndex) {
226226
// Restore the original nested field name
227227
const [_, originalField] = this._nestedFieldReplacements[placeholderIndex];
228-
console.log(`Restoring nested field: ${expr.left.column} -> ${originalField}`);
228+
log(`Restoring nested field: ${expr.left.column} -> ${originalField}`);
229229
expr.left.column = originalField;
230230
expr.left.table = null;
231231
}

0 commit comments

Comments
 (0)