mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
don't run conversions test when disabled
This commit is contained in:
parent
3fccf79ca8
commit
5eec00db51
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,8 @@ checkCanStoreFiles = (callback)->
|
|||
callback(err)
|
||||
|
||||
checkFileConvert = (callback)->
|
||||
if !settings.enableConversions
|
||||
return callback()
|
||||
imgPath = path.join(settings.path.uploadFolder, "/tiny.pdf")
|
||||
async.waterfall [
|
||||
(cb)->
|
||||
|
|
Loading…
Reference in a new issue