Commit 9a96ddd9 by Timothée Peignier

raise compiler error when PIPELINE is False. close #9

parent 6bc0922b
......@@ -25,7 +25,7 @@ class Compiler(object):
compiled_content = compiler.compile_file(content)
self.save_file(new_path, compiled_content)
except CompilerError:
if not storage.exists(new_path):
if not storage.exists(new_path) or not settings.PIPELINE:
raise
paths[index] = new_path
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