diff --git a/services/clsi/app/js/CompileController.js b/services/clsi/app/js/CompileController.js index 9545d900a2..e244afe887 100644 --- a/services/clsi/app/js/CompileController.js +++ b/services/clsi/app/js/CompileController.js @@ -91,9 +91,8 @@ function compile(req, res, next) { if ( outputFiles.some( file => - (file.path === 'output.pdf' || - file.path === 'output.html') && - file.size > 0 + (file.path === 'output.pdf' && file.size > 0) || + file.path === 'output.html' ) ) { status = 'success'