diff --git a/lib/language_pack/rails4.rb b/lib/language_pack/rails4.rb index a4a4b183a..27041f96b 100644 --- a/lib/language_pack/rails4.rb +++ b/lib/language_pack/rails4.rb @@ -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