Skip to content

Commit

Permalink
fix(roc-plugin-repo): Display current version for status better
Browse files Browse the repository at this point in the history
  • Loading branch information
dlmr committed Sep 7, 2017
1 parent 8155828 commit 5cf3e83
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion extensions/roc-plugin-repo/src/commands/status.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ const report = (status, isMonorepo, prerelease) => {
incrementToString(status[project].increment).toUpperCase(),
)(
changes,
`${project} - ${status[project].currentVersion} -> ${status[project]
`${project} - ${prerelease
? status[project].packageJSON.version
: status[project].currentVersion} -> ${status[project]
.newVersion}${!prerelease
? ` (current: ${status[project].packageJSON.version})`
: ''}`,
Expand Down

0 comments on commit 5cf3e83

Please sign in to comment.