mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #182 from overleaf/msm-fix-npe-community-edition
Fixed NPE when Settings.clsi is defined but Settings.clsi.docker is not
This commit is contained in:
commit
5846ebb367
1 changed files with 3 additions and 1 deletions
|
@ -520,7 +520,9 @@ module.exports = CompileManager = {
|
|||
compileName,
|
||||
command,
|
||||
directory,
|
||||
Settings.clsi != null ? Settings.clsi.docker.image : undefined,
|
||||
Settings.clsi && Settings.clsi.docker
|
||||
? Settings.clsi.docker.image
|
||||
: undefined,
|
||||
timeout,
|
||||
{},
|
||||
compileGroup,
|
||||
|
|
Loading…
Reference in a new issue