Skip to content

Commit

Permalink
Update: Bolds the titles in a list (#4406)
Browse files Browse the repository at this point in the history
**Summary**

Not substantial. It makes it easier to differentiate the items in a list vs the hint. Here is the before:

![screen shot 2017-09-11 at 3 18 25 pm](https://user-images.githubusercontent.com/49038/30292973-0431c13c-9706-11e7-95da-f32452154004.png)

and the after:

![screen shot 2017-09-11 at 3 20 57 pm](https://user-images.githubusercontent.com/49038/30292985-1133c164-9706-11e7-813e-c26f422f068d.png)


**Test plan**

Existing unit tests.
  • Loading branch information
orta authored and BYK committed Sep 13, 2017
1 parent 5786d3a commit 975d880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reporters/console/console-reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export default class ConsoleReporter extends BaseReporter {

if (hints) {
for (const item of items) {
this._log(`${' '.repeat(gutterWidth)}- ${item}`);
this._log(`${' '.repeat(gutterWidth)}- ${this.format.bold(item)}`);
this._log(` ${' '.repeat(gutterWidth)} ${hints[item]}`);
}
} else {
Expand Down

0 comments on commit 975d880

Please sign in to comment.