Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix regex considering terraform-docs v0.10.0 old
Got this error using v1.42.0 on terraform_docs hook: ```sh panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x13fdbe6] ``` Looks like the new `v0.10.0` terraform-docs is going the awk script route instead of "Using terraform-docs 0.8+ (preferred)" route because the regex matches when it shouldn't.
- Loading branch information