Просмотр исходного кода

Explicitly look for output.pdf file, not any pdf

James Allen 12 лет назад
Родитель
Сommit
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()