kyverno / chainsaw

Declarative K8s e2e testing
https://kyverno.github.io/chainsaw/
Apache License 2.0
312 stars 46 forks source link

[Bug] 'chainsaw build docs' does not honor end-of-file #2127

Open pgmgb opened 4 weeks ago

pgmgb commented 4 weeks ago

chainsaw version Version

v0.2.11

Description

chainsaw build docs does not honor end-of-file - it will add two empty lines at the end of the generated README.md

Steps to reproduce

Execute chainsaw build docs --test-dir "./tests/chainsaw" --catalog ./CHAINSAW-TEST-CATALOG.md and check the generated README.md for each chainsaw test. There will be two empty lines at the end instead of one.

Expected behavior

chainsaw build docs honors end-of-file and adds one empty line.

Screenshots

No response

Logs

No response

Slack discussion

No response

Troubleshooting