Improved error message for remote version package output

This commit is contained in:
2025-07-09 23:20:11 -05:00
parent b91cf18b04
commit 47b2aabd9f
8 changed files with 45 additions and 25 deletions

View File

@ -16,7 +16,7 @@ type PackageManager interface {
Upgrade(pkgs []packagemanagercommon.Package) (string, []string) // Upgrade a specific package
UpgradeAll() (string, []string)
CheckVersion(pkgs []packagemanagercommon.Package) (string, []string)
ParseRemotePackageManagerVersionOutput(output string) ([]packagemanagercommon.Package, []error)
ParseRemotePackageManagerVersionOutput(output string) ([]packagemanagercommon.Package, error)
// Configure applies functional options to customize the package manager.
Configure(options ...packagemanagercommon.PackageManagerOption)
}