summaryrefslogtreecommitdiffstats
path: root/lib/generator.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-09-15 13:57:21 +0200
committerSamy Pessé <samypesse@gmail.com>2015-09-15 13:57:21 +0200
commit5a205346e3d125b1c834220ce98a206d88697811 (patch)
tree47700546d3b7a3e484975e37b1bb06e7efa88b92 /lib/generator.js
parente1930046599d430a6bb378af62bce78fb9d24ff7 (diff)
downloadgitbook-5a205346e3d125b1c834220ce98a206d88697811.zip
gitbook-5a205346e3d125b1c834220ce98a206d88697811.tar.gz
gitbook-5a205346e3d125b1c834220ce98a206d88697811.tar.bz2
Jshint all files
Diffstat (limited to 'lib/generator.js')
-rw-r--r--lib/generator.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/generator.js b/lib/generator.js
index 407afa5..fca5b3c 100644
--- a/lib/generator.js
+++ b/lib/generator.js
@@ -3,8 +3,6 @@ var path = require("path");
var Q = require("q");
var fs = require("./utils/fs");
-var Plugin = require("./plugin");
-
var BaseGenerator = function(book) {
this.book = book;
@@ -65,7 +63,7 @@ BaseGenerator.prototype.copyCover = function() {
fs.copy(path.join(that.book.parentRoot(), "cover_small.jpg"), path.join(that.options.output, "cover_small.jpg"))
]);
})
- .fail(function(err) {
+ .fail(function() {
return Q();
});
};