Closed mrose17 closed 8 years ago
The callback currently takes two parameters, the first is the err object and the second is the array of rules. Would you like the array of rules parameter to be null when an error occurs?
i thought there was only one parameter. in that case: when an error occurs, please use (err, null)
thanks!
require('./categories').all()
, invoke the callback withnull
var rules
inindex.js
, perhaps by having it do arequire(...)
on a file that is generated on commit