فهرست منبع

result path not in final cb

Henry Oswald 9 سال پیش
والد
کامیت
d41bf2e974
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      services/filestore/app/coffee/HealthCheckController.coffee

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

@@ -29,9 +29,9 @@ checkFileConvert = (callback)->
 	async.waterfall [
 		(cb)->
 			fs.copy("./tiny.pdf", imgPath, cb)
-		(cb)-> fileConverter.thumbnail "./tiny.pdf", cb
+		(cb)-> fileConverter.thumbnail imgPath, cb
 		(resultPath, cb)-> fs.unlink resultPath, cb
-		(resultPath, cb)-> fs.unlink imgPath, cb
+		(cb)-> fs.unlink imgPath, cb
 	], callback