mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
Update pkg/common/utils/utils.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Sahil Bansal <bansalsahil315@gmail.com>
This commit is contained in:
@@ -31,5 +31,5 @@ func ParsePackageInfo(input string) (packageName, version string, err error) {
|
||||
return packageName, "", nil
|
||||
}
|
||||
|
||||
return "", "", fmt.Errorf("invalid format: expected 'package' OR 'package@version' , got '%s'", input)
|
||||
return "", "", fmt.Errorf("invalid format: expected 'package' OR 'package@version', got '%s'", input)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user