DEV: Add stub flush_sw task to prevent rebuild errors (#10021)

This commit is contained in:
Kane York 2020-06-10 13:07:37 -07:00 committed by GitHub
parent ac555610d9
commit 5f3fd23fa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,6 +68,14 @@ task 'assets:precompile:css' => 'environment' do
end
end
task 'assets:flush_sw' => 'environment' do
begin
# Pending due to test failures.
rescue
STDERR.puts "Warning: unable to flush service worker script"
end
end
def assets_path
"#{Rails.root}/public/assets"
end