Showing 2 of 2 total issues
Avoid too many return
statements within this function. Open
Open
return callback({
code: 103,
message: 'Entry point not Found'
}, httpRequest, httpResponse, next); // we can't find the entry point, throw an error
Avoid too many return
statements within this function. Open
Open
return callback({
code: 104,
message: 'No version number found'
}, httpRequest, httpResponse, next);