Skip to content

Commit

Permalink
feat(Issue-1625): asciidoc generator recognizes aborted status
Browse files Browse the repository at this point in the history
  • Loading branch information
l-1squared committed Aug 9, 2024
1 parent 5b6e6b7 commit 8e1da95
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ final class MetadataMapper {
private static final String ICON_CHECK_MARK = "icon:check-square[role=green]";
private static final String ICON_EXCLAMATION_MARK = "icon:exclamation-circle[role=red]";
private static final String ICON_BANNED = "icon:ban[role=silver]";
private static final String ICON_TIMES_CIRCLE = "icon:times-circle[role=gray]";
private static final String ICON_STEP_FORWARD = "icon:step-forward[role=silver]";
private static final int NANOSECONDS_PER_MILLISECOND = 1000000;

Expand Down Expand Up @@ -46,6 +47,8 @@ static String toHumanReadableStatus(final ExecutionStatus executionStatus) {
return ICON_CHECK_MARK;
case FAILED:
return ICON_EXCLAMATION_MARK;
case ABORTED:
return ICON_TIMES_CIRCLE;
default:
return executionStatus.toString();
}
Expand Down

0 comments on commit 8e1da95

Please sign in to comment.