fix(plugins): exists --> exist

pull/2518/head
Seth Goings 7 years ago
parent 6643a21271
commit e7a51d5424

@ -44,7 +44,7 @@ type Installer interface {
// Install installs a plugin to $HELM_HOME.
func Install(i Installer) error {
if _, pathErr := os.Stat(path.Dir(i.Path())); os.IsNotExist(pathErr) {
return errors.New(`plugin home "$HELM_HOME/plugins" does not exists`)
return errors.New(`plugin home "$HELM_HOME/plugins" does not exist`)
}
if _, pathErr := os.Stat(i.Path()); !os.IsNotExist(pathErr) {

Loading…
Cancel
Save