chore: dim watch separator (#20836)

This commit is contained in:
Pavel Feldman 2023-02-12 10:00:40 -08:00 committed by GitHub
parent de69b766d9
commit e9ca483666
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -420,7 +420,7 @@ export function separator(text: string = ''): string {
if (text) if (text)
text += ' '; text += ' ';
const columns = Math.min(100, process.stdout?.columns || 100); const columns = Math.min(100, process.stdout?.columns || 100);
return text + colors.gray('─'.repeat(Math.max(0, columns - text.length))); return text + colors.dim('─'.repeat(Math.max(0, columns - text.length)));
} }
function indent(lines: string, tab: string) { function indent(lines: string, tab: string) {