feat(config): VendorScope is unnecessary here
This commit is contained in:
parent
03a4ad1c00
commit
62c770dbf3
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ func configPath() (string, error) {
|
||||||
if override := os.Getenv("PDA_CONFIG"); override != "" {
|
if override := os.Getenv("PDA_CONFIG"); override != "" {
|
||||||
return override, nil
|
return override, nil
|
||||||
}
|
}
|
||||||
scope := gap.NewVendorScope(gap.User, "pda", "config")
|
scope := gap.NewScope(gap.User, "pda")
|
||||||
dir, err := scope.ConfigPath("")
|
dir, err := scope.ConfigPath("")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue