diff options
author | James A. Rosen <james@zendesk.com> | 2011-06-20 12:32:46 -0700 |
---|---|---|
committer | James A. Rosen <james@zendesk.com> | 2011-06-21 09:24:03 -0700 |
commit | d26cf14605c02495263b3f5edd390569bfead11c (patch) | |
tree | 26aad995a22178a11fb795f5c8b421972681bace /railties/lib/rails/tasks | |
parent | e1b32e701e608d03523c3b9bf93c36faf4e50bd8 (diff) | |
download | rails-d26cf14605c02495263b3f5edd390569bfead11c.tar.gz rails-d26cf14605c02495263b3f5edd390569bfead11c.tar.bz2 rails-d26cf14605c02495263b3f5edd390569bfead11c.zip |
rake assets:clean also removes directories
See https://github.com/rails/rails/pull/1776#issuecomment-1402894,
2df2bfdb4b1165dce4b5bc3fe046147d793fead4, and
7440a254c4e724a5bbf6a0f4c8edb6d8d0432433.
Diffstat (limited to 'railties/lib/rails/tasks')
-rw-r--r-- | railties/lib/rails/tasks/assets.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/tasks/assets.rake b/railties/lib/rails/tasks/assets.rake index ccd4d361bf..2d3a9dea96 100644 --- a/railties/lib/rails/tasks/assets.rake +++ b/railties/lib/rails/tasks/assets.rake @@ -19,7 +19,7 @@ namespace :assets do public_asset_path = Rails.public_path + assets.prefix file_list = FileList.new("#{public_asset_path}/**/*") file_list.each do |file| - rm file + rm file, :force => true rm "#{file}.gz", :force => true end end |