Skip to content

Commit

Permalink
Fix mis-formatted output in Pretty reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
jason0x43 committed Sep 29, 2017
1 parent 1c919f6 commit e894df5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/reporters/Pretty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ export default class Pretty extends Coverage implements PrettyProperties {
charm.foreground(color);
}
line = line.split('\n', 1)[0];
charm.write('$(line.slice(0, this.dimensions.width))\n');
charm.write(`${line.slice(0, this.dimensions.width)}\n`);
charm.display('reset');
});
}
Expand Down

0 comments on commit e894df5

Please sign in to comment.