Explorar o código

Explicitly look for output.pdf file, not any pdf

James Allen %!s(int64=12) %!d(string=hai) anos
pai
achega
bc22a371d0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()