Merge pull request #12199 from overleaf/em-revert-12066

Revert "Merge pull request #12066 from overleaf/em-multibib-errors"

GitOrigin-RevId: 8ba55849c54d61e62c80882fd53773ea3fd19948
This commit is contained in:
Eric Mc Sween 2023-03-13 10:25:53 -04:00 committed by Copybot
parent ecb1aaf60d
commit 650fe7b662

View file

@ -99,15 +99,9 @@ export const handleLogFiles = async (outputFiles, data, signal) => {
} }
} }
const blgFiles = [] const blgFile = outputFiles.get('output.blg')
for (const [filename, file] of outputFiles) { if (blgFile) {
if (filename.endsWith('.blg')) {
blgFiles.push(file)
}
}
for (const blgFile of blgFiles) {
try { try {
const response = await fetchFromCompileDomain( const response = await fetchFromCompileDomain(
buildURL(blgFile, data.pdfDownloadDomain, data.enableHybridPdfDownload), buildURL(blgFile, data.pdfDownloadDomain, data.enableHybridPdfDownload),