📒 update vendor/

This commit is contained in:
Ettore Di Giacinto
2021-12-07 18:26:35 +01:00
parent 1f6d0cc66c
commit 309f5c0559
21 changed files with 4 additions and 3394 deletions

View File

@@ -99,7 +99,9 @@ func relativeToCwd(p string) (string, error) {
func (m *Manager) insertPlugin(p Plugin) {
for _, i := range m.Plugins {
if i.Executable == p.Executable {
// We don't want any ambiguity here.
// Binary plugins must be unique in PATH and Name
if i.Executable == p.Executable || i.Name == p.Name {
return
}
}