From e948941729388726348c7acb07e153e2a6b45d85 Mon Sep 17 00:00:00 2001 From: sapphi-red <49056869+sapphi-red@users.noreply.github.com> Date: Mon, 9 Dec 2024 17:22:57 +0900 Subject: [PATCH] chore: fix merge error --- packages/vite/src/node/build.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/vite/src/node/build.ts b/packages/vite/src/node/build.ts index 22a84b2807b065..26db0343546951 100644 --- a/packages/vite/src/node/build.ts +++ b/packages/vite/src/node/build.ts @@ -1073,11 +1073,7 @@ export function onRollupLog( logHandler(logLeveling, logging) } - const tty = process.stdout.isTTY && !process.env.CI - if (tty) { - process.stdout.clearLine(0) - process.stdout.cursorTo(0) - } + clearLine() const userOnLog = environment.config.build.rollupOptions?.onLog if (userOnLog) { userOnLog(level, log, viteLog)