mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 18:53:44 -05:00
Handle null doc lines
This commit is contained in:
parent
973d9b8643
commit
9f969bba4d
1 changed files with 1 additions and 1 deletions
|
@ -72,4 +72,4 @@ module.exports = HttpController =
|
||||||
}
|
}
|
||||||
|
|
||||||
_buildRawDocView: (doc)->
|
_buildRawDocView: (doc)->
|
||||||
return doc.lines.join("\n")
|
return (doc?.lines or []).join("\n")
|
||||||
|
|
Loading…
Reference in a new issue