Closed DanFaudemer closed 8 years ago
Nice job Dan ! Here is my feedback
lib/jenkins.js
file to a different name to avoid potential conflicts with the jenkins module ?this.something
in the tests, rather it is ok to have global objectsCheers !
Hi,
Thanks Remi for all these feedbacks. I will implement them.
For your question: Bind: bind is used when you are using callback in a class. If you do not bind the function 'this' will be lost. And I cannot call method class.
One question: It is not mandatory to return all the expected parameters for a callback (as you mentioned above in case of error) ?
Forgot to answer of one of your question buildLog is used in my test. See GetLog
Hi Remi,
I think I have implemented all of your feedback. Except the one for the async. I also add create_node and remove_node function. Let me know if it is ok for you.
Dan
One question: It is not mandatory to return all the expected parameters for a callback (as you mentioned above in case of error) ?
No, missing parameters will be replaced by null or undefined. So if you have three parameters and only care about the first, simply omit the others
It should be good now ;)
:+1:
Create an overlayer for jenkins library