Skip to content

Commit

Permalink
Fix error message order of arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarr-awake authored Apr 5, 2024
1 parent 86bb1a2 commit 3f9c7ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifest/manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func (m Manifest) sanityCheck() error {

if !slices.Contains(allowedPkgTypes, pkgSpec.Type) {
return fmt.Errorf("Bad type '%s' for package %s",
pkgSpec.Name, pkgSpec.Type)
pkgSpec.Type, pkgSpec.Name)
}

if pkgSpec.Build.RepoBundle == nil {
Expand Down

0 comments on commit 3f9c7ff

Please sign in to comment.