Closed TzlilSwimmer123 closed 2 years ago
After some investigation, I found that this happens because of this line: https://github.com/datreeio/datree/blob/34815cb824e4ef8b205c322bbf7d727228898876/cmd/test/main.go#L405
results.EvaluationResults is equal to null, which causes a runtime error
Describe the bug Running
datree test
on non k8s files with--only-k8s-files
flag raises invalid memory address or nil pointer dereference error on runtimeTo Reproduce Steps to reproduce the behavior:
Expected behavior Suppose to show test results - this file/these files should be presented with their invalidation error
Screenshots
Desktop (please complete the following information):
Datree version: