fix(terraform): Improve module triggers (#3113)

Have updated which extentions trigger the terraform module, to remove
the `hcl` since this gives false positives as it is used by other
Hashicorp products and add the `tfstate` and `tfplan` which are more
accurate indicators.
This commit is contained in:
Thomas O'Donnell
2021-10-04 18:08:58 +02:00
committed by GitHub
parent ec0206f50d
commit e74f428615
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ impl<'a> Default for TerraformConfig<'a> {
symbol: "💠 ",
style: "bold 105",
disabled: false,
detect_extensions: vec!["tf", "hcl"],
detect_extensions: vec!["tf", "tfplan", "tfstate"],
detect_files: vec![],
detect_folders: vec![".terraform"],
}