mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-09 01:00:57 +00:00
added null check into response.outputFiles?
This commit is contained in:
parent
79929eae73
commit
a297c07bbb
1 changed files with 3 additions and 2 deletions
|
@ -50,7 +50,8 @@ define [
|
||||||
|
|
||||||
# make a cache to look up files by name
|
# make a cache to look up files by name
|
||||||
fileByPath = {}
|
fileByPath = {}
|
||||||
for file in response.outputFiles
|
if response?.outputFiles?
|
||||||
|
for file in response?.outputFiles
|
||||||
fileByPath[file.path] = file
|
fileByPath[file.path] = file
|
||||||
|
|
||||||
if response.status == "timedout"
|
if response.status == "timedout"
|
||||||
|
|
Loading…
Reference in a new issue