fix check key path condition bug

moond4rk 4 years ago
parent a6ea227a56
commit 954983fd9f
  1. 6
      core/browser.go

@ -283,9 +283,9 @@ func PickCustomBrowser(browserName, cusProfile, cusKey string) ([]Browser, error
return nil, err
}
}
}
if err := checkKeyPath(cusKey); err != nil {
return nil, err
if err := checkKeyPath(cusKey); err != nil {
return nil, err
}
}
b, err := choice.New(cusProfile, cusKey, choice.Name, choice.Storage)
browsers = append(browsers, b)

Loading…
Cancel
Save