From 56d03a1e2f8f12a2a5fe8fcc3b1a4c5039291c9a Mon Sep 17 00:00:00 2001 From: Porkepix Date: Thu, 31 Jul 2025 14:34:23 +0200 Subject: [PATCH] ignore/types: include missing files for the tf type Existing matches were too restrictives, so we simplify those to every type of tfvars file we can encounter. Closes #3117 --- crates/ignore/src/default_types.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/crates/ignore/src/default_types.rs b/crates/ignore/src/default_types.rs index cd1604ff..7f08587c 100644 --- a/crates/ignore/src/default_types.rs +++ b/crates/ignore/src/default_types.rs @@ -288,9 +288,8 @@ pub(crate) const DEFAULT_TYPES: &[(&[&str], &[&str])] = &[ (&["texinfo"], &["*.texi"]), (&["textile"], &["*.textile"]), (&["tf"], &[ - "*.tf", "*.auto.tfvars", "terraform.tfvars", "*.tf.json", - "*.auto.tfvars.json", "terraform.tfvars.json", "*.terraformrc", - "terraform.rc", "*.tfrc", "*.terraform.lock.hcl", + "*.tf", "*.tf.json", "*.tfvars", "*.tfvars.json", + "*.terraformrc", "terraform.rc", "*.tfrc", "*.terraform.lock.hcl", ]), (&["thrift"], &["*.thrift"]), (&["toml"], &["*.toml", "Cargo.lock"]),