run chktex when request has check:true

This commit is contained in:
Brian Gough
2016-07-26 16:22:38 +01:00
parent 6524439699
commit 14837a57ec
4 changed files with 13 additions and 4 deletions

View File

@@ -17,6 +17,8 @@ module.exports = CompileController =
CompileManager.doCompile request, (error, outputFiles = []) ->
if error?.terminated
status = "terminated"
else if error?.code is 1
status = "exited"
else if error?
logger.error err: error, project_id: request.project_id, "error running compile"
if error.timedout