From d80172942f15fe877b0f41c48da61a9a677a628c Mon Sep 17 00:00:00 2001 From: James Allen Date: Thu, 29 May 2014 15:49:48 +0100 Subject: [PATCH] Explicitly look for output.pdf file, not any pdf --- app/coffee/CompileController.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/coffee/CompileController.coffee b/app/coffee/CompileController.coffee index cddb56b..c738202 100644 --- a/app/coffee/CompileController.coffee +++ b/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()