Closed Trojan295 closed 7 months ago
@janisz I added a test.
I also saw that the ignorePaths
are always passed to the CreateContexts
in absolute path, while the args might be absolute or relative. You can see this creates a bug by comparing these commands, which yield a different result on main
:
kube-linter lint $PWD/tests/testdata --ignore-paths $PWD/tests/testdata
kube-linter lint tests/testdata --ignore-paths $PWD/tests/testdata
The PR also addresses this.
Thank you! I'm sorry for a long delay.
Solves #575