lib/hanami/assets/bundler/compressor.rb in hanami-assets-1.1.0.beta1 vs lib/hanami/assets/bundler/compressor.rb in hanami-assets-1.1.0.beta2
- old
+ new
@@ -44,10 +44,10 @@
# @since 0.3.0
# @api private
def _compress(compressor)
compressor.compress(@path)
- rescue => e
+ rescue => e # rubocop:disable Lint/RescueWithoutErrorClass
warn(
[
"Skipping compression of: `#{@path}'",
"Reason: #{e}\n",
"\t#{e.backtrace.join("\n\t")}\n\n"