Commit 9a96ddd9 by Timothée Peignier

raise compiler error when PIPELINE is False. close #9

parent 6bc0922b
...@@ -25,7 +25,7 @@ class Compiler(object): ...@@ -25,7 +25,7 @@ class Compiler(object):
compiled_content = compiler.compile_file(content) compiled_content = compiler.compile_file(content)
self.save_file(new_path, compiled_content) self.save_file(new_path, compiled_content)
except CompilerError: except CompilerError:
if not storage.exists(new_path): if not storage.exists(new_path) or not settings.PIPELINE:
raise raise
paths[index] = new_path paths[index] = new_path
return paths return paths
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment