summaryrefslogtreecommitdiffstats
path: root/lib/output/ebook.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2016-03-07 10:40:25 +0100
committerSamy Pessé <samypesse@gmail.com>2016-03-07 10:40:25 +0100
commitb4bdf97cfe84994a4e2e04f196e0ebb4849b188f (patch)
treeeabe2904fb68684960c469a6286f1628eaea0bd0 /lib/output/ebook.js
parentbf98984012c493aebb2258902e1722f0ed0d3527 (diff)
downloadgitbook-b4bdf97cfe84994a4e2e04f196e0ebb4849b188f.zip
gitbook-b4bdf97cfe84994a4e2e04f196e0ebb4849b188f.tar.gz
gitbook-b4bdf97cfe84994a4e2e04f196e0ebb4849b188f.tar.bz2
Fix linting errors
Diffstat (limited to 'lib/output/ebook.js')
-rw-r--r--lib/output/ebook.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output/ebook.js b/lib/output/ebook.js
index 228a025..ace5255 100644
--- a/lib/output/ebook.js
+++ b/lib/output/ebook.js
@@ -114,7 +114,7 @@ EbookOutput.prototype.locateCover = function() {
// Cover doesn't exist and multilingual?
if (!fs.existsSync(cover)) {
- if (this.parent) return this.parent.locateCover()
+ if (this.parent) return this.parent.locateCover();
else return undefined;
}