Skip to content

Commit

Permalink
Remove non-empty directory during test cleanup (#1696)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbanck authored Apr 29, 2024
1 parent ad3bc94 commit b50c481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/terraform/exec/exec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func newExecutor(t *testing.T) TerraformExecutor {
t.Fatal(err)
}
t.Cleanup(func() {
if err := os.Remove(installDir); err != nil {
if err := os.RemoveAll(installDir); err != nil {
t.Fatal(err)
}
})
Expand Down

0 comments on commit b50c481

Please sign in to comment.