__init__.py
8.84 KB
-
Avoid CompressionError for newlines in stderr · 159a605a
UglifyJS2 prints two newlines '\n\n' into stderr for me. The `if stderr` in the `SubProcessCompressor.execute_command` raises a CompressionError if that happens. I've added a `strip()` call to avoid that.
Fabian Büchler committed