Skip to content

Commit

Permalink
checkpoint
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Ortel <[email protected]>
  • Loading branch information
jortel committed Jul 17, 2024
1 parent 089a50f commit 0562e98
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions builder/issue.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ type Issues struct {
Path string
}

// RuleErr returns the rule error.
func (b *Issues) RuleErr() (r *RuleError) {
// RuleError returns the rule error.
func (b *Issues) RuleError() (r *RuleError) {
return &b.ruleErr
}

Expand Down
4 changes: 3 additions & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ func main() {
return
}
addon.Activity("Analysis reported. duration: %s", time.Since(mark))
ruleErr := issues.RuleErr()
//
// RuleError
ruleErr := issues.RuleError()
ruleErr.Report()
//
// Facts
Expand Down

0 comments on commit 0562e98

Please sign in to comment.