Commit 05718174 by Timothée Peignier

Merge pull request #281 from rickeyvisinski-kanban/closure-warnings

prevent pipeline from dying on Closure Compiler warnings
parents 849022f0 9747f259
......@@ -232,8 +232,8 @@ class SubProcessCompressor(CompressorBase):
if content:
content = smart_bytes(content)
stdout, stderr = pipe.communicate(content)
if stderr.strip():
if stderr.strip() and pipe.returncode != 0:
raise CompressorError(stderr)
if self.verbose:
elif self.verbose:
print(stderr)
return force_text(stdout)
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