We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0750f6b commit 79115a6Copy full SHA for 79115a6
src/migrations/migration-loader.function.ts
@@ -16,5 +16,7 @@ export function startLoader(message) {
16
export function stopLoader(loaderInterval) {
17
clearInterval(loaderInterval);
18
readline.cursorTo(process.stdout, 0);
19
- process.stdout.clearLine(0);
+ if (process.stdout.isTTY) {
20
+ process.stdout.clearLine(0);
21
+ }
22
}
0 commit comments