Commit e7a51d54 authored by Seth Goings's avatar Seth Goings

fix(plugins): exists --> exist

parent 6643a212
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment