Skip to content

Commit d48061c

Browse files
authored
fix: change console.log to logger (#168)
1 parent cef8ff6 commit d48061c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/compiler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export function compile(code: Buffer | string, options: CompilerOptions = {}) {
8787
if (isLoggerEnabled) {
8888
const MAX_LOG_SIZE = 100 * 1024; // 100KB
8989
if (firstPass.length <= MAX_LOG_SIZE) {
90-
console.log(firstPass.toString());
90+
logger(firstPass.toString());
9191
} else {
9292
logger(
9393
`firstPass buffer too large to log in full (${firstPass.length} bytes). Preview: ` +

0 commit comments

Comments
 (0)