Sfoglia il codice sorgente

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

Henry Oswald 8 anni fa
parent
commit
9686e182ed

+ 2 - 0
services/clsi/app/coffee/CompileController.coffee

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

+ 0 - 1
services/clsi/config/settings.defaults.coffee

@@ -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"]

+ 1 - 0
services/clsi/package.json

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