diff --git a/src/FimFic2Epub.js b/src/FimFic2Epub.js index 03245ec..3f5b14a 100644 --- a/src/FimFic2Epub.js +++ b/src/FimFic2Epub.js @@ -789,6 +789,7 @@ class FimFic2Epub extends EventEmitter { } replaceRemoteResources () { + if (this.remoteResources.size === 0) return if (!this.options.includeExternal) { this.remoteResources.forEach((r, url) => { if (r.originalUrl && r.where) {