Skip to content

Commit

Permalink
matches as slice
Browse files Browse the repository at this point in the history
Signed-off-by: Benji Visser <benji@093b.org>
  • Loading branch information
noqcks committed Jun 21, 2023
1 parent 1c54b46 commit 397b07f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ func startWorker(userInput string, failOnEolFound bool, eolMatchDate time.Time)

if appConfig.APIKey != "" && appConfig.APIURL != "" {
x := xeolio.NewXeolEvent(appConfig.APIURL, appConfig.APIKey, report.XeolEventPayload{
Matches: allMatches,
Matches: allMatches.Sorted(),
Packages: packages,
Context: pkgContext,
AppConfig: appConfig,
Expand Down
2 changes: 1 addition & 1 deletion xeol/report/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
)

type XeolEventPayload struct {
Matches match.Matches
Matches []match.Match
Packages []pkg.Package
Context pkg.Context
AppConfig interface{}
Expand Down

0 comments on commit 397b07f

Please sign in to comment.