Skip to content

Commit 92bf51c

Browse files
authored
chore: exclude debug line break from styling (#1185)
1 parent 37fc1f5 commit 92bf51c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/verbosity.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ export function setVerbosityFromEnv() {
2323

2424
export function debuglog(...args) {
2525
// Prepend a line break in case it's logged while the spinner is running
26-
console.error(styleText('green', format('\n[DEBUG]', ...args)));
26+
console.error('\n' + styleText('green', format('[DEBUG]', ...args)));
2727
}

0 commit comments

Comments
 (0)