Skip to content

Commit

Permalink
Merge branch 'main' into security_policy
Browse files Browse the repository at this point in the history
  • Loading branch information
Noxsios committed May 10, 2024
2 parents 223a116 + 9ca6e9a commit fd0a4ed
Show file tree
Hide file tree
Showing 12 changed files with 388 additions and 397 deletions.
369 changes: 0 additions & 369 deletions src/internal/packager/validate/validate.go

This file was deleted.

3 changes: 1 addition & 2 deletions src/pkg/packager/composer/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
"strings"

"github.com/defenseunicorns/pkg/helpers"
"github.com/defenseunicorns/zarf/src/internal/packager/validate"
"github.com/defenseunicorns/zarf/src/pkg/layout"
"github.com/defenseunicorns/zarf/src/pkg/packager/deprecated"
"github.com/defenseunicorns/zarf/src/pkg/utils"
Expand Down Expand Up @@ -142,7 +141,7 @@ func NewImportChain(head types.ZarfComponent, index int, originalPackageName, ar
}

// TODO: stuff like this should also happen in linting
if err := validate.ImportDefinition(&node.ZarfComponent); err != nil {
if err := node.ZarfComponent.ValidateImportDefinition(); err != nil {
return ic, err
}

Expand Down
Loading

0 comments on commit fd0a4ed

Please sign in to comment.