mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #12066 from overleaf/em-multibib-errors
Parse all .blg files after a compile GitOrigin-RevId: be84974c247fd7a476a12c47943ab54947146e4c
This commit is contained in:
parent
390d7ed005
commit
862276f8a1
1 changed files with 8 additions and 2 deletions
|
@ -99,9 +99,15 @@ export const handleLogFiles = async (outputFiles, data, signal) => {
|
|||
}
|
||||
}
|
||||
|
||||
const blgFile = outputFiles.get('output.blg')
|
||||
const blgFiles = []
|
||||
|
||||
if (blgFile) {
|
||||
for (const [filename, file] of outputFiles) {
|
||||
if (filename.endsWith('.blg')) {
|
||||
blgFiles.push(file)
|
||||
}
|
||||
}
|
||||
|
||||
for (const blgFile of blgFiles) {
|
||||
try {
|
||||
const response = await fetchFromCompileDomain(
|
||||
buildURL(blgFile, data.pdfDownloadDomain, data.enableHybridPdfDownload),
|
||||
|
|
Loading…
Reference in a new issue