Commit 8c16870f by cgreene Committed by Timothée Peignier

Google closure compiler doesn't have --verbose.

This means that it simply prints "--verbose" is not a valid option and doesn't write the result to standard out.

Signed-off-by: Timothée Peignier <timothee.peignier@tryphon.org>
parent a8b757c3
...@@ -5,6 +5,4 @@ from pipeline.compressors import SubProcessCompressor ...@@ -5,6 +5,4 @@ from pipeline.compressors import SubProcessCompressor
class ClosureCompressor(SubProcessCompressor): class ClosureCompressor(SubProcessCompressor):
def compress_js(self, js): def compress_js(self, js):
command = '%s %s' % (settings.PIPELINE_CLOSURE_BINARY, settings.PIPELINE_CLOSURE_ARGUMENTS) command = '%s %s' % (settings.PIPELINE_CLOSURE_BINARY, settings.PIPELINE_CLOSURE_ARGUMENTS)
if self.verbose:
command += ' --verbose'
return self.execute_command(command, js) return self.execute_command(command, js)
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