kataras / go-events

:mega: Pure nodejs EventEmmiter for the Go Programming Language.
MIT License
98 stars 15 forks source link

Fix wrong payload for Once handler. #8

Closed m1k1o closed 1 year ago

m1k1o commented 2 years ago

To Once's listeners, there are all arguments passed as array in first argument, what is obviously wrong.

Although this issue was introduced in 6e0eeb3dcfa58085193392580e9db163f08c5304, it was never part of a release until recently.

Please after merging this fix also create new tag so that it can be properly distributed using golang dependencies.

kataras commented 1 year ago

Thanks @m1k1o !