Skip to content

Commit

Permalink
Show file paths in console/text templates only if we analyzed more th…
Browse files Browse the repository at this point in the history
…en 1 config
  • Loading branch information
buglloc committed May 21, 2017
1 parent ca0dca9 commit ea1fb2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gixy/formatters/templates/console.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

{{ colors.TITLE }}==================== Results ==================={{ colors.DEF }}
{% for path, issues in reports.items() %}
{% if reports|length > 1 %}
File path: {{ path }}
{% endif %}
{% if not issues %}
No issues found.

Expand Down
2 changes: 2 additions & 0 deletions gixy/formatters/templates/text.j2
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@

==================== Results ===================
{% for path, issues in reports.items() %}
{% if reports|length > 1 %}
File path: {{ path }}
{% endif %}
{% if not issues %}
No issues found.

Expand Down

0 comments on commit ea1fb2e

Please sign in to comment.