Fixed NPE when Settings.clsi is defined but Settings.clsi.docker is not

This commit is contained in:
Miguel Serrano 2020-06-25 12:31:10 +02:00
parent 2b342c6e53
commit f8ca906393

View file

@ -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,