MCPcopy
hub / github.com/vitejs/vite / clearLine

Function clearLine

packages/vite/src/node/build.ts:1090–1096  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1088]
1089
1090export function clearLine(): void {
1091 const tty = process.stdout.isTTY && !process.env.CI
1092 if (tty) {
1093 process.stdout.clearLine(0)
1094 process.stdout.cursorTo(0)
1095 }
1096}
1097
1098export function onRollupLog(
1099 level: LogLevel,

Callers 2

buildEnvironmentFunction · 0.85
onRollupLogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected