carrierwaveuploader / carrierwave

Classier solution for file uploads for Rails, Sinatra and other Ruby web frameworks
https://github.com/carrierwaveuploader/carrierwave
8.78k stars 1.66k forks source link

fix the code to comply with the Style::EmptyLiteral rule in RuboCop. #2753

Closed sho-work closed 2 months ago

sho-work commented 2 months ago

Summary

I encountered an issue where Hash.new [] triggered a violation of the RuboCop rule Style/EmptyLiteral. To address this, I revised the code.

mshibuya commented 2 months ago

Thank you for the PR, but it's already fixed in Rubocop. https://github.com/rubocop/rubocop/pull/13178