Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Wait longer to process JQ query (#3)
Some large files may take longer than 100ms. It also fixes a wrong log message, only in this file, there are more in other parts of the project. Before that: ``` ❯ terrascan scan -i tfplan -f large.tfplan.json 2024-08-30T10:30:07.848+0200 warn utils/jqhelper.go:56 error in processing jq query; error: '%v'context deadline exceeded 2024-08-30T10:30:07.848+0200 error cli/run.go:141 scan run failed{error 26 0 failed to decode processed jq output. error: 'unexpected end of JSON input'} ``` *Note the wrong log message* Increase the timeout to 1s it works.
- Loading branch information