markstory/asset_compress — pull request #103 by thomseddon (2012-04-08 22:15:23+00:00)
Title: Set debug level for output 

Firstly, just set out building my own asset compressor to find you had already done it! Another great CakePHP contribution, thanks Mark.

One quick question: I noticed that it seems the output is only passed through the filter at debug levels below 2, and this seems to be hard coded [on this line](https://github.com/markstory/asset_compress/blob/master/Lib/AssetCompiler.php#L41)?

I was running the shell on my development build (debug at 2) so couldn't actually pass the output through a filter?

I have attached a quick way I overrode it - sorry if I have just missed something.

Thanks again!