From 3f9c7ff426a147054239c2a35545b3c33f1d715a Mon Sep 17 00:00:00 2001 From: Jason Carr <88687152+jcarr-awake@users.noreply.github.com> Date: Fri, 5 Apr 2024 16:01:29 -0400 Subject: [PATCH] Fix error message order of arguments --- manifest/manifest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest/manifest.go b/manifest/manifest.go index 77b831a..a914bb2 100644 --- a/manifest/manifest.go +++ b/manifest/manifest.go @@ -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 {