Skip to content

Commit de5269f

Browse files
authored
Fix TOC output in README for lockers without a README initially (#74)
1 parent 38a4725 commit de5269f

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# [1.6.2](https://github.com/ComplianceAsCode/auditree-framework/releases/tag/v1.6.2)
2+
3+
- [FIXED] Table of contents now handled appropriately for locker without a README.
4+
15
# [1.6.1](https://github.com/ComplianceAsCode/auditree-framework/releases/tag/v1.6.1)
26

37
- [FIXED] Table of contents now handles old/abandoned report evidence metadata appropriately.

compliance/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
# limitations under the License.
1515
"""Compliance automation package."""
1616

17-
__version__ = '1.6.1'
17+
__version__ = '1.6.2'

compliance/templates/readme_toc.md.tmpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ limitations under the License.
2525
{{ line }}
2626
{% endif %}
2727
{%- endfor -%}
28-
{%- endif -%}
28+
{%- endif %}
29+
2930
## Table of Contents - Check Reports
3031

3132
{% for rpt in reports -%}

0 commit comments

Comments
 (0)