Skip to content

Conversation

@nmalaguti
Copy link

If options is defined but null it isn't set to an empty object and the call to options.namesOnly causes an error.

Probably not the best fix here, but it gets the job done. You could probably remove the check for args.length, but I wasn't sure if it would have other side effects to just coerce to bool, so I made the smaller fix.

If options is defined but null, it isn't set to an empty object and the call to options.namesOnly causes an error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants