don't run conversions test when disabled

This commit is contained in:
Henry Oswald 2019-02-05 14:06:51 +00:00
parent 3fccf79ca8
commit 5eec00db51

View file

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