diff --git a/plugins/apps/functions.go b/plugins/apps/functions.go index 437706328..9d6b0491a 100644 --- a/plugins/apps/functions.go +++ b/plugins/apps/functions.go @@ -12,15 +12,7 @@ import ( // checks if an app exists func appExists(appName string) error { - if err := common.IsValidAppName(appName); err != nil { - return err - } - - if !common.DirectoryExists(common.AppRoot(appName)) { - return fmt.Errorf("App %s does not exist", appName) - } - - return nil + return common.VerifyAppName() } // checks if an app is locked