소스 검색

Explicitly look for output.pdf file, not any pdf

James Allen 12 년 전
부모
커밋
bc22a371d0
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  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()