Fix new usage for builtin objects (#6968)
This commit is contained in:
1 parent
57f0dd56dd
commit
eac6fba2c3
11 files changed
+17
-14
No files matched your search
@@ -29,7 +29,7 @@ function fitTerminal(input) {
|
||||
const columns = Math.min(process.stdout.columns || 40, 80);
|
||||
const WIDTH = columns - stringWidth(OK) + 1;
|
||||
if (input.length < WIDTH) {
|
||||
input += Array(WIDTH - input.length).join(chalk.dim("."));
|
||||
input += new Array(WIDTH - input.length).join(chalk.dim("."));
|
||||
}
|
||||
return input;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user