Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-przybyl-wttech committed Sep 15, 2023
1 parent 1dd6145 commit cf77a7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/aem/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ func (c *CLI) pkgUpdateCmd() *cobra.Command {
return
}
filterRoots, _ := cmd.Flags().GetStringSlice("filter-roots")
err = p.UpdateFiltersWithChanged(pkg.NewPackageFilters(filterRoots))
err = p.UpdateFilters(pkg.NewPackageFilters(filterRoots))
if err != nil {
c.Error(err)
return
Expand Down
2 changes: 1 addition & 1 deletion pkg/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func (p Package) CreateWithChanged(opts PackageCreateOpts) (bool, error) {
return false, nil
}

func (p Package) UpdateFiltersWithChanged(filters []PackageFilter) error {
func (p Package) UpdateFilters(filters []PackageFilter) error {
state, err := p.State()
if err != nil {
return err
Expand Down

0 comments on commit cf77a7e

Please sign in to comment.