Conversation
|
Any consideration to upgrade node version in travis? |
Understatement of the year! 😄 Definitely, just merged #49, but feel free to upgrade support further if you need to. Can you also include an update to the README? Thanks! |
|
I've updated the README! |
|
If I'm not mistaken, it doesn't exactly work as shown in the README. It says this is valid However, the params don't seem to be taken into account. On the other hand, this works as intended My guess is, the problem comes from those lines https://github.com/awesomejerry/node-trello/blob/master/lib/node-trello.js#L50-L53. You're checking if the function receives 3 arguments, the third argument is considered the callback. This is incorrect in the first case: it calls the function with the arguments I suppose changing it to EDIT: On second thought, this might not work either if the function is called with Because it will indeed produce the 3 arguments EDIT2: maybe this would work https://github.com/dfdeagle47/node-trello/blob/master/lib/node-trello.js#L53-L60 Cheers |
should