This commit is contained in:
daniel-j 2016-08-15 15:15:13 +02:00
parent 9d97330b4d
commit e836399ed7
3 changed files with 3 additions and 4 deletions

View file

@ -4,7 +4,7 @@
"name": "fimfic2epub", "name": "fimfic2epub",
"short_name": "fimfic2epub", "short_name": "fimfic2epub",
"description": "Improved EPUB exporter for Fimfiction", "description": "Improved EPUB exporter for Fimfiction",
"version": "1.1.1", "version": "1.1.2",
"icons": { "icons": {
"128": "icon-128.png" "128": "icon-128.png"

View file

@ -1,6 +1,6 @@
{ {
"name": "fimfic2epub", "name": "fimfic2epub",
"version": "1.1.1", "version": "1.1.2",
"description": "Tool to generate EPUB ebooks from fimfiction stories", "description": "Tool to generate EPUB ebooks from fimfiction stories",
"author": "djazz", "author": "djazz",
"scripts": { "scripts": {

View file

@ -408,8 +408,7 @@ module.exports = class FimFic2Epub {
// example usage: .pipe(fs.createWriteStream(filename)) // example usage: .pipe(fs.createWriteStream(filename))
streamFile () { streamFile () {
if (!this.hasDownloaded) { if (!this.hasDownloaded) {
reject('Not downloaded.') return null
return
} }
return this.zip return this.zip
.generateNodeStream({ .generateNodeStream({