overleaf/server-ce/hotfix/2.3.1/check-clsi-setting-exists.patch

12 lines
390 B
Diff
Raw Normal View History

2020-06-25 06:29:29 -04:00
--- 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) {