fix linting errors
This commit is contained in:
parent
44f02d1159
commit
e38474ce40
2 changed files with 3 additions and 2 deletions
|
@ -11,7 +11,8 @@ export function serveProject(req, res) {
|
||||||
Project.findById(req.params.project_id)
|
Project.findById(req.params.project_id)
|
||||||
.exec((err, project) => {
|
.exec((err, project) => {
|
||||||
if (err || !project) {
|
if (err || !project) {
|
||||||
return get404Sketch(html => res.send(html));
|
get404Sketch(html => res.send(html));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
// TODO this does not parse html
|
// TODO this does not parse html
|
||||||
const files = project.files;
|
const files = project.files;
|
||||||
|
|
Loading…
Reference in a new issue