mirror of
https://github.com/daniel-j/fimfic2epub.git
synced 2024-09-28 23:31:16 +12:00
tiny optimization
This commit is contained in:
parent
5f7901f026
commit
cfffdc9998
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue