Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
aoout 2026-07-06 11:19:17 +08:00 committed by GitHub
parent 1964d0eb24
commit 5e5b36f0d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -185,7 +185,7 @@ export default class EpubImporterPlugin extends Plugin {
}
private getSyncImportConcurrency() {
const raw = Math.floor(this.settings.syncImportConcurrency || 3);
const raw = Math.floor(this.settings.syncImportConcurrency ?? 3);
return Math.max(1, raw);
}