Skip to content

Commit

Permalink
fix(badges): reordered the badge groups
Browse files Browse the repository at this point in the history
the new order aligns to the order that works naturally once the docs are fleshed out for usage and
contribution
  • Loading branch information
travi committed Jun 12, 2018
1 parent 4680cc5 commit f87e74f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions templates/README.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

{{description}}

<!-- consumer badges -->
{{#badges.consumer}}
{{.}}
{{/badges.consumer}}

<!-- status badges -->
{{#badges.status}}
{{.}}
{{/badges.status}}

<!-- consumer badges -->
{{#badges.consumer}}
{{.}}
{{/badges.consumer}}

<!-- contribution badges -->
{{#badges.contribution}}
{{.}}
Expand Down
6 changes: 3 additions & 3 deletions test/unit/readme-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@ ${description}`)
fs.writeFile,
`${projectRoot}/README.md`,
sinon.match(`
<!-- consumer badges -->
${buildBadgeGroup(consumerBadges).join('\n')}
<!-- status badges -->
${buildBadgeGroup(statusBadges).join('\n')}
<!-- consumer badges -->
${buildBadgeGroup(consumerBadges).join('\n')}
<!-- contribution badges -->
${buildBadgeGroup(contributionBadges).join('\n')}
`)
Expand Down

0 comments on commit f87e74f

Please sign in to comment.