Skip to content

Commit

Permalink
correct typo in credentialsPath
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Sep 19, 2024
1 parent b8a797b commit da7292a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func readTerraformCredentials() (*Credentials, error) {
return nil, fmt.Errorf("unable to get the home directory: %v", err)
}

credentialsPath := filepath.Join(configDir, ".terraform.d", "ceredentials.tfrc.json")
credentialsPath := filepath.Join(configDir, ".terraform.d", "credentials.tfrc.json")
fmt.Println(credentialsPath)
if _, err := os.Stat(credentialsPath); errors.Is(err, os.ErrNotExist) {
return nil, nil
Expand Down

0 comments on commit da7292a

Please sign in to comment.