Skip to content

Commit

Permalink
Support for missing asset directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
yubele committed Mar 6, 2022
1 parent 08d17e5 commit b632494
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/tasks/assets/minify/compress.rake
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace :assets_minify do
desc "Minify the files"
task :compress, :environment do
next unless File.directory?(::Rails.application.config.assets.output_path)
output_path = Assets::Minify::OutputPath.new(
::Rails.application.config.assets.output_path
)
Expand Down

0 comments on commit b632494

Please sign in to comment.