Skip to content

Commit 96d82c1

Browse files
authored
fix: print blank line only when the log level is info (#689)
1 parent fe777c3 commit 96d82c1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,9 @@ export async function buildSingle(
206206

207207
case 'BUNDLE_START': {
208208
if (changedFile.length > 0) {
209-
console.info('')
209+
if (logger.level === 'info') {
210+
console.info('')
211+
}
210212
logger.info(
211213
`Found ${bold(changedFile.join(', '))} changed, rebuilding...`,
212214
)

0 commit comments

Comments
 (0)