Skip to content
Snippets Groups Projects

mrhlpr.frontend: Fix string representation of ActionType

Merged Newbyte requested to merge newbyte/fix-output into master

Previously, the string representation for ActionType would be something like ActionType.OK instead of [OK ] as intended. This resulted in commands like $ mrhlpr status getting an output like this:

ActionType.OK Changes allowed
ActionType.OK Clean worktree
ActionType.NOK Rebase on master
ActionType.NOK MR-ID in commit msgs
ActionType.NOK Commit subjects follow format
   668526 doesn't match any regex
ActionType.NOK Commits are signed

instead of the intended

[OK ] Changes allowed
[OK ] Clean worktree
[NOK] Rebase on master
[NOK] MR-ID in commit msgs
[NOK] Commit subjects follow format
   668526 doesn't match any regex
[NOK] Commits are signed

Fixes 8647dd3b

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading