Skip to content

Commit e894df5

Browse files
committed
Fix mis-formatted output in Pretty reporter
1 parent 1c919f6 commit e894df5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/reporters/Pretty.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ export default class Pretty extends Coverage implements PrettyProperties {
406406
charm.foreground(color);
407407
}
408408
line = line.split('\n', 1)[0];
409-
charm.write('$(line.slice(0, this.dimensions.width))\n');
409+
charm.write(`${line.slice(0, this.dimensions.width)}\n`);
410410
charm.display('reset');
411411
});
412412
}

0 commit comments

Comments
 (0)