fix linting errors

This commit is contained in:
Cassie Tarakajian 2017-11-27 17:32:03 -05:00
parent 44f02d1159
commit e38474ce40
2 changed files with 3 additions and 2 deletions

View file

@ -11,7 +11,8 @@ export function serveProject(req, res) {
Project.findById(req.params.project_id)
.exec((err, project) => {
if (err || !project) {
return get404Sketch(html => res.send(html));
get404Sketch(html => res.send(html));
return;
}
// TODO this does not parse html
const files = project.files;