mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-30 10:52:43 +00:00
fix commandRunner error to match dockerRunner
This commit is contained in:
parent
1af44b32b3
commit
481e842f33
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@ module.exports = CommandRunner =
|
|||
err = new Error("terminated")
|
||||
err.terminated = true
|
||||
return callback(err)
|
||||
else if code
|
||||
err = new Error("exit")
|
||||
else if code is 1 # exit status from chktex
|
||||
err = new Error("exited")
|
||||
err.code = code
|
||||
return callback(err)
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue