Show file paths in console/text templates only if we analyzed more then 1 config

pull/59/head
buglloc 2017-05-21 23:03:04 +03:00
parent ca0dca94cf
commit ea1fb2e658
2 changed files with 4 additions and 0 deletions

View File

@ -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.

View File

@ -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.