Expected behavior
I would expect that an unknown state does not cause the tool to panic, but instead reports that error back to the user to address
Additional context
I attempted to open a PR but was unable to, due to permission restictions
I was able to side-step the issue by modifying the method locally (https://github.com/nunnatsa/ginkgolinter/blob/main/ginkgo_linter.go#L407) and adding guards to prevent the panic. However, I don't know the codebase well enough to understand if that is the appropriate place for this guard
Describe the bug When the
-fix
flag is enabled, I experience a panic when running the linter.To Reproduce
Expected behavior I would expect that an unknown state does not cause the tool to panic, but instead reports that error back to the user to address
Additional context