mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-02 21:32:17 +00:00
Explicitly look for output.pdf file, not any pdf
This commit is contained in:
parent
f8819fbbd7
commit
bc22a371d0
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ module.exports = CompileController =
|
|||
else
|
||||
status = "failure"
|
||||
for file in outputFiles
|
||||
if file.type == "pdf"
|
||||
if file.path?.match(/output\.pdf$/)
|
||||
status = "success"
|
||||
|
||||
timer.done()
|
||||
|
|
Loading…
Reference in a new issue