Skip to content

Commit 9b8369b

Browse files
rainkwanstephybun
andauthored
Update internal/plugintest/working_dir.go
Co-authored-by: stephybun <[email protected]>
1 parent f0814f9 commit 9b8369b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/plugintest/working_dir.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ func (wd *WorkingDir) SetQuery(ctx context.Context, cfg teststep.Config, vars co
180180

181181
for _, file := range fi {
182182
if file.Mode().IsRegular() {
183-
if filepath.Ext(file.Name()) == ".warioform" || filepath.Ext(file.Name()) == ".json" || filepath.Ext(file.Name()) == ".hcl" {
183+
if filepath.Ext(file.Name()) == ".warioform" || filepath.Ext(file.Name()) == ".json" || filepath.Ext(file.Name()) == ".tfquery.hcl" {
184184
err = os.Remove(filepath.Join(d.Name(), file.Name()))
185185

186186
if err != nil && !os.IsNotExist(err) {

0 commit comments

Comments
 (0)