Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickarlt committed Apr 19, 2016
1 parent c89931c commit 25eda98
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ module.exports = function (options, callback) {
});

var site = acetate(options);
var builtPages = {};
var index;
var server;
var fileWatcher;
Expand Down Expand Up @@ -77,7 +76,7 @@ module.exports = function (options, callback) {
site.runExtensions(function () {
page.render(function (error, html) {
response.writeHead(200, {'Content-Type': mime.lookup(page.src)});
response.end(html);
response.end(error || html);
site.success('server', 'built %s', page.src);
return;
});
Expand Down
1 change: 0 additions & 1 deletion test/server/build/index.html

This file was deleted.

0 comments on commit 25eda98

Please sign in to comment.