mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
don't run conversions test when disabled
This commit is contained in:
@@ -33,6 +33,8 @@ checkCanStoreFiles = (callback)->
|
|||||||
callback(err)
|
callback(err)
|
||||||
|
|
||||||
checkFileConvert = (callback)->
|
checkFileConvert = (callback)->
|
||||||
|
if !settings.enableConversions
|
||||||
|
return callback()
|
||||||
imgPath = path.join(settings.path.uploadFolder, "/tiny.pdf")
|
imgPath = path.join(settings.path.uploadFolder, "/tiny.pdf")
|
||||||
async.waterfall [
|
async.waterfall [
|
||||||
(cb)->
|
(cb)->
|
||||||
|
|||||||
Reference in New Issue
Block a user