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:
Jakob Ackermann 2020-07-15 11:01:08 +02:00 committed by GitHub
commit 5846ebb367

View file

@ -520,7 +520,9 @@ module.exports = CompileManager = {
compileName, compileName,
command, command,
directory, directory,
Settings.clsi != null ? Settings.clsi.docker.image : undefined, Settings.clsi && Settings.clsi.docker
? Settings.clsi.docker.image
: undefined,
timeout, timeout,
{}, {},
compileGroup, compileGroup,