Explorar o código

don't run conversions test when disabled

Henry Oswald %!s(int64=7) %!d(string=hai) anos
pai
achega
5eec00db51
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      services/filestore/app/coffee/HealthCheckController.coffee

+ 2 - 0
services/filestore/app/coffee/HealthCheckController.coffee

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