diff --git a/internal/manager.go b/internal/manager.go index 5fb96baa..52efddce 100644 --- a/internal/manager.go +++ b/internal/manager.go @@ -201,7 +201,9 @@ func (m *Manager) Update(pluginName string) error { }() pterm.Println("Checking plugin version...") if util.CompareVersion(source.Version, sdk.Plugin.Version) <= 0 { - return fmt.Errorf("the plugin is already the latest version") + success = true + pterm.Printf("the plugin is already the latest version") + return nil } err = os.WriteFile(sdk.Plugin.Filepath, []byte(content), 0644) if err != nil {