Showing 2 of 4 total issues
Function HipsterList
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function HipsterList() {
//menu items
this.shopInfo =
{
"shopName": "The Coffee Connection",
Function routes
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function routes(app, db) {
app.get('/', function(req, res) {
res.sendFile(path.join(__dirname, '../views', '/index.html'));
});