Skip to content

Commit

Permalink
Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa committed Oct 7, 2024
1 parent 2e498e9 commit dc5759a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion act/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ func runActionWithTimeout(

// RunAll run all the actions in the outputs and returns the end result.
func (r *Registry) RunAll(result map[string]any) map[string]any {
if result == nil || len(result) == 0 {
if len(result) == 0 {
return result
}

Expand Down
2 changes: 1 addition & 1 deletion cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func StopGracefully(
span.RecordError(err)
}
if result != nil {
_ = pluginRegistry.ActRegistry.RunAll(result)
_ = pluginRegistry.ActRegistry.RunAll(result) //nolint:contextcheck
}
}

Expand Down

0 comments on commit dc5759a

Please sign in to comment.