Skip to content

Commit

Permalink
Return if assets compiled is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
schneems committed Oct 23, 2018
1 parent 18ce3e5 commit 7303f8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/language_pack/rails4.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def default_assets_cache

def cleanup
super
return unless assets_compile_enabled?
return if assets_compile_enabled?
return unless Dir.exist?(default_assets_cache)
FileUtils.remove_dir(default_assets_cache)
end
Expand Down

0 comments on commit 7303f8f

Please sign in to comment.