Skip to content

Commit

Permalink
Fix rubocop complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielJackson-Oslo committed Jan 28, 2024
1 parent 2859851 commit 2b6a2c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/initializers/inilne_svg_cache.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

InlineSvg.configure do |config|
# Only precompile if we aren't compiling on the fly
return if Rails.application.config.assets.compile
break if Rails.application.config.assets.compile

assets_path = Rails.public_path.join("assets").to_s
return unless Dir.exist? assets_path
break unless Dir.exist? assets_path

config.asset_file = InlineSvg::CachedAssetFile.new(
paths: [
Expand Down

0 comments on commit 2b6a2c8

Please sign in to comment.