mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-07-25 08:27:19 +02:00
Move the `fs.existsSync(indexPath)` check below the `--no-download` early return: in that mode the check is unused (the read after refreshIndex already validates existence), so it's wasted disk I/O.