diff --git a/packages/create-astro/src/logger.ts b/packages/create-astro/src/logger.ts index acb79b636608..97be7af0a220 100644 --- a/packages/create-astro/src/logger.ts +++ b/packages/create-astro/src/logger.ts @@ -26,9 +26,7 @@ export const defaultLogDestination = new Writable({ objectMode: true, write(event: LogMessage, _, callback) { let dest: ConsoleStream = process.stderr; - if (levels[event.level] < levels['error']) { - dest = process.stdout; - } + if (levels[event.level] < levels['error']) dest = process.stdout; dest.write(dim(dt.format(new Date()) + ' '));