Skip to content

Commit

Permalink
🐛 Use default path when installing a provider. (#1939)
Browse files Browse the repository at this point in the history
  • Loading branch information
preslavgerchev authored Sep 26, 2023
1 parent ec32cc2 commit 5abdc22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/providers.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ func InstallFile(path string, conf InstallConf) ([]*Provider, error) {

func InstallIO(reader io.ReadCloser, conf InstallConf) ([]*Provider, error) {
if conf.Dst == "" {
conf.Dst = HomePath
conf.Dst = DefaultPath
}

if !config.ProbeDir(conf.Dst) {
Expand Down

0 comments on commit 5abdc22

Please sign in to comment.