Merge branch 'ho-dockerise' of github.com:sharelatex/clsi-sharelatex into ho-dockerise

This commit is contained in:
Henry Oswald 2018-03-02 18:31:09 +00:00
commit aa58b7a75f
3 changed files with 3 additions and 1 deletions

View file

@ -40,8 +40,10 @@ module.exports = CompileController =
for file in outputFiles
if file.path?.match(/output\.pdf$/)
status = "success"
if status == "failure"
logger.err project_id: request.project_id, outputFiles:outputFiles, "project failed to compile successfully, no output.pdf generated"
# log an error if any core files are found
for file in outputFiles
if file.path is "core"

View file

@ -45,5 +45,4 @@ if process.env["COMMAND_RUNNER"]
module.exports.path.sandboxedCompilesHostDir = process.env["COMPILES_HOST_DIR"]
#TODO this can be deleted once module is merged in
module.exports.path.synctexBinHostPath = process.env["SYNCTEX_BIN_HOST_PATH"]

View file

@ -24,6 +24,7 @@
"compile:all": "npm run compile:app && npm run compile:unit_tests && npm run compile:acceptance_tests",
"nodemon": "nodemon --config nodemon.json"
},
"author": "James Allen <james@sharelatex.com>",
"dependencies": {
"async": "0.2.9",
"body-parser": "^1.2.0",