mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-04-04 21:00:39 -04:00
Add .tofu/.tofutest.hcl to tofu fmt error message. (#3947)
Signed-off-by: Andy Brody <git@abrody.com>
This commit is contained in:
@@ -160,7 +160,7 @@ func (c *FmtCommand) fmt(paths []string, stdin io.Reader, stdout io.Writer, args
|
||||
}
|
||||
|
||||
if !fmtd {
|
||||
diags = diags.Append(fmt.Errorf("Only .tf, .tfvars, and .tftest.hcl files can be processed with tofu fmt"))
|
||||
diags = diags.Append(fmt.Errorf("Only .tf, .tofu, .tfvars, .tftest.hcl, and .tofutest.hcl files can be processed with tofu fmt"))
|
||||
continue
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user