mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Fixed syntex
This commit is contained in:
parent
8839b473a7
commit
97d82a7277
2 changed files with 18 additions and 0 deletions
7
hotfix/2.3.1/Dockerfile
Normal file
7
hotfix/2.3.1/Dockerfile
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
FROM sharelatex/sharelatex:2.3.0
|
||||||
|
|
||||||
|
|
||||||
|
# Patch: Fixes NPE when invoking synctex (https://github.com/overleaf/overleaf/issues/756)
|
||||||
|
ADD check-clsi-setting-exists.patch /var/www/sharelatex/clsi/app/js/check-clsi-setting-exists.patch
|
||||||
|
RUN cd /var/www/sharelatex/clsi/app/js && \
|
||||||
|
patch < check-clsi-setting-exists.patch
|
11
hotfix/2.3.1/check-clsi-setting-exists.patch
Normal file
11
hotfix/2.3.1/check-clsi-setting-exists.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- 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) {
|
Loading…
Reference in a new issue