Browse Source

Explicitly look for output.pdf file, not any pdf

James Allen 12 năm trước cách đây
mục cha
commit
bc22a371d0
1 tập tin đã thay đổi với 1 bổ sung và 1 xóa
  1. 1 1
      services/clsi/app/coffee/CompileController.coffee

+ 1 - 1
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()