Skip to content

Commit

Permalink
Fix error typo in HandleSummary()
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Mirić committed May 18, 2021
1 parent 6778f12 commit 0dd3012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ func (r *Runner) HandleSummary(ctx context.Context, summary *lib.Summary) (map[s
if _, ok := goja.AssertFunction(fn); ok {
handleSummaryFn = fn
} else if fn != nil {
return nil, fmt.Errorf("exported identfier %s must be a function", consts.HandleSummaryFn)
return nil, fmt.Errorf("exported identifier %s must be a function", consts.HandleSummaryFn)
}
}
ctx = common.WithRuntime(ctx, vu.Runtime)
Expand Down

0 comments on commit 0dd3012

Please sign in to comment.