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 15, 2018
1 parent ae207c1 commit 1d70e6e
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 1d70e6e

Please sign in to comment.