Skip to content

Commit

Permalink
fix(roc-plugin-repo): Sort commits shown when using "roc repo status"
Browse files Browse the repository at this point in the history
  • Loading branch information
dlmr committed Jan 3, 2018
1 parent dd64e77 commit d4f1fce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extensions/roc-plugin-repo/src/commands/status.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import log from 'roc/log/default';
import compareFunc from 'compare-func';

import generateStatus from '../semver/generateStatus';

Expand All @@ -16,6 +17,7 @@ const report = (status, isMonorepo, prerelease) => {

return projects.forEach(project => {
const changes = status[project].commits
.sort(compareFunc('type'))
.map(
commit =>
` — ${isMonorepo
Expand Down

0 comments on commit d4f1fce

Please sign in to comment.