fixes #540. There was a bug in the labels var assignment in cmds/issue.js , from the nonexistent attribute issue.label, fixed with issue.labels. Further down, the labels array was pushed to from iterating on itself with label.name, rather than making a fresh array of label strings for display. Finally, made a distinctive color for issue display and displayed the appropriate singular/plural of 'label'.
@protoEvangelion proposing formally here to add a flag for --show-labels so that labels will display when that flag is included, as well as when --detailed is present (currently true in this PR).
fixes #540. There was a bug in the
labels
var assignment in cmds/issue.js , from the nonexistent attributeissue.label
, fixed withissue.labels
. Further down, thelabels
array was pushed to from iterating on itself withlabel.name
, rather than making a fresh array of label strings for display. Finally, made a distinctive color for issue display and displayed the appropriate singular/plural of 'label'.