Hello all, I am working on a PR to address
this policy check issue by introducing a flag for custom policy tools that don't yield JSON output. I'd appreciate some input on the right place to add this type of option.
The change in behavior would simply skip the
JSON object instantiation here in `project_command_runner.go`, but I only see ProjectContext in scope at that point. I could add the flag to
project_context.go, where I believe it would need to be set on every project entry within
atlantis.yaml
. Ideally though, I think it would make more sense as a server flag since it would be common to re-use the same policy checking tool across many projects -- but I can't figure out how it would then be passed to this method in
project_command_runner.go
.