Skip to content

Commit

Permalink
Add function to export the report
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed Oct 22, 2024
1 parent c7abec7 commit 7ce94ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .dagger/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ type ClientModulesReport struct {
Dir *dagger.Directory
}

func (r *ClientModulesReport) Report(ctx context.Context) (*dagger.File, error) {
return r.generate(ctx)
}

func (r *ClientModulesReport) Review(ctx context.Context) (*dagger.Container, error) {
report, err := r.generate(ctx)
if err != nil {
Expand Down

0 comments on commit 7ce94ff

Please sign in to comment.