Skip to content

Commit

Permalink
revert installation path to t.TempDir()
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko committed Jan 11, 2022
1 parent 3941b46 commit a729d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/langserver/handlers/complete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ output "test" {

func tfExecutor(t *testing.T, workdir, tfVersion string) exec.TerraformExecutor {
ctx := context.Background()
installDir := filepath.Join(workdir, "hcinstall")
installDir := filepath.Join(t.TempDir(), "hcinstall")
if err := os.MkdirAll(installDir, 0o755); err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit a729d8f

Please sign in to comment.