Fix linting problems. Remove comment of code. Add package.

This commit is contained in:
gaba
2016-11-09 13:52:47 -08:00
parent c2f450d969
commit d7ea18cba9
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ const handleResp = res => {
if (res.status === 401) {
throw new Error('Not Authorized to make this request');
} else if (res.status > 399) {
throw new Error('Error! Status ' + res.status);
throw new Error('Error! Status ', res.status);
} else if (res.status === 204) {
return res.text();
} else {
+1
View File
@@ -46,6 +46,7 @@
"body-parser": "^1.15.2",
"debug": "^2.2.0",
"ejs": "^2.5.2",
"eslint-config-postcss": "^2.0.2",
"express": "^4.14.0",
"mongoose": "^4.6.5",
"morgan": "^1.7.0",
-2
View File
@@ -44,6 +44,4 @@ describe('Comment: models', () => {
});
});
});
// });
});