$pickset example gives :[{"$undefined":true}]}
niccottrell opened this issue · comments
The example in the README
{"color": {"$pickset": {"array": ["green", "red", "blue"], "quantity": 2}}}
gives
{"color":[{"$undefined":true}]}
I seem to be running version 0.4.1
Hi, $pickset
was introduced in version 0.5.0. Could you update to the latest version (currently 0.5.1) and try again?
You can do that with npm update -g mgeneratejs
.
Not sure why, but update was ignored. However npm install -g mgeneratejs
worked!