Skip to content

Commit 0232e63

Browse files
committed
fixup! feat(utils): add noLineBreak and noIndent options to logger methods
1 parent 813c37a commit 0232e63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/utils/src/lib/logger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ export class Logger {
475475

476476
#log(message: string, color?: AnsiColors, options?: LogOptions): void {
477477
const print: (text: string) => void = options?.noLineBreak
478-
? process.stdout.write
478+
? text => process.stdout.write(text)
479479
: console.log;
480480

481481
if (this.#activeSpinner) {

0 commit comments

Comments
 (0)