diff --git a/services/clsi/app/coffee/CompileController.coffee b/services/clsi/app/coffee/CompileController.coffee index cddb56b1ca..c73820206a 100644 --- a/services/clsi/app/coffee/CompileController.coffee +++ b/services/clsi/app/coffee/CompileController.coffee @@ -24,7 +24,7 @@ module.exports = CompileController = else status = "failure" for file in outputFiles - if file.type == "pdf" + if file.path?.match(/output\.pdf$/) status = "success" timer.done()