Skip to content

Commit

Permalink
Fix node reducer
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Apr 22, 2022
1 parent fc25753 commit 3463842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/reducer/nodejs.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func nodejs(args []string) string {
f = function ()
{ return %v }
.call(x)
x = typeof f === 'function' ? f(x) : fn
x = typeof f === 'function' ? f(x) : f
`, a)
}
// Generate a beautiful error message.
Expand Down

0 comments on commit 3463842

Please sign in to comment.