Skip to content

Commit

Permalink
Improved env-flow-out template readability
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Rosenberg committed Mar 27, 2022
1 parent 095fce9 commit 67250c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/env-flow-out.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
{% assign deployed = result.components.succeeded %}
{% assign failed = result.components.failed %}

{% if deployed.size > 0 %}
Deployed components:

{% if deployed.size > 0 %}
{% for deployable in deployed %}
{% assign component = deployable.component %}
- :green_circle: {{ component.packageName }}/{{ component.type }}/{{ component.name }}
Expand All @@ -24,10 +24,10 @@ Deployed components:
There were no deployed components.
{% endif %}

{% if failed.size > 0 %}
Failed components:

{% if failed.size > 0 %}
{% assign tableRows = "" %}
{% assign tableRows = "" %}
{% for undeployable in failed %}
{% assign component = undeployable.result.component %}
{% capture problems %}<ol>{% for problem in undeployable.result.problems %}<li>`{{ problem.archiveFilePath }}`: {{ problem.description }} {% if problem.lineNumber and problem.columnNumber %} (`{{ problem.lineNumber }}:{{ problem.columnNumber }}`) {% endif %}</li>{% endfor %}</ol>{% endcapture %}
Expand Down

0 comments on commit 67250c4

Please sign in to comment.