jstty / beelzebub

One hell of a Task Master!
http://beelzebub.io
Other
8 stars 4 forks source link

(Bug?) multiple calls to $setGlobalVars overwrites #13

Closed valgaze closed 7 years ago

valgaze commented 7 years ago

Calling this.$setGlobalVars(payload) in multiple places overwrites existing globalVars.

Easy fix on the user would be to cache existing before adding new vars, should be documented somewhere

jstty commented 7 years ago

Not a bug, this is intended behavior. But, yes this should be documented. Should be resolved in #23