datreeio / datree

Prevent Kubernetes misconfigurations from reaching production (again 😤 )! From code to cloud, Datree provides an E2E policy enforcement solution to run automatic checks for rule violations. See our docs: https://hub.datree.io
https://datree.io
Apache License 2.0
6.4k stars 359 forks source link

fix: don't scan empty files when `--only-k8s-files` flag is used #934

Closed alonzyl closed 1 year ago

royhadad commented 1 year ago

Nice catch! merged 🙌🙌🙌

royhadad commented 1 year ago

@alonzyl This PR is included in the latest 1.9.0 release 🥳🥳, thank you for contributing! 🚀