Don't update internal plugins

Ref #1792
This commit is contained in:
Zachary Yedidia 2020-07-22 15:40:40 -04:00
parent 1f27f51f9a
commit 015e7c7b83
2 changed files with 2 additions and 2 deletions

View file

@ -607,7 +607,7 @@ func UpdatePlugins(out io.Writer, plugins []string) {
// if no plugins are specified, update all installed plugins.
if len(plugins) == 0 {
for _, p := range Plugins {
if !p.IsEnabled() {
if !p.IsEnabled() || p.Default {
continue
}
plugins = append(plugins, p.Name)

File diff suppressed because one or more lines are too long