Closed maboiteaspam closed 9 years ago
Hi,
at https://github.com/cozy-labs/cozy-light/blob/master/lib/cozy-light.js#L528
It misses some sort of break, otherwise it will also call
https://github.com/cozy-labs/cozy-light/blob/master/lib/cozy-light.js#L537
@L528 Should put
return callback();
It will avoid too many braces.
You're right. Thank you for reporting.
Fixed in 734d077924d308a43c75d7157bfc3c9648a416e1
Hi,
at https://github.com/cozy-labs/cozy-light/blob/master/lib/cozy-light.js#L528
It misses some sort of break, otherwise it will also call
https://github.com/cozy-labs/cozy-light/blob/master/lib/cozy-light.js#L537
@L528 Should put
It will avoid too many braces.