Remove unnecessary PkgNotFoundError

This commit is contained in:
Elara 2022-11-30 21:43:10 -08:00
parent 7d00c7b5fb
commit 2e591d9f1c
1 changed files with 0 additions and 8 deletions

View File

@ -33,14 +33,6 @@ import (
"golang.org/x/exp/slices"
)
type PkgNotFoundError struct {
pkgName string
}
func (p PkgNotFoundError) Error() string {
return "package '" + p.pkgName + "' could not be found in any repository"
}
func addrepoCmd(c *cli.Context) error {
name := c.String("name")
repoURL := c.String("url")