overleaf/server-ce/hotfix/2.3.1/check-clsi-setting-exists.patch
Miguel Serrano c2575ad666 Fixed syntex
2020-06-25 12:29:29 +02:00

11 lines
390 B
Diff

--- a/app/js/CompileManager.js
+++ b/app/js/CompileManager.js
@@ -536,7 +536,7 @@ 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,
{},
function(error, output) {