DEV: Add stub flush_sw task to prevent rebuild errors (#10021)
This commit is contained in:
parent
ac555610d9
commit
5f3fd23fa8
|
@ -68,6 +68,14 @@ task 'assets:precompile:css' => 'environment' do
|
||||||
end
|
end
|
||||||
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
|
def assets_path
|
||||||
"#{Rails.root}/public/assets"
|
"#{Rails.root}/public/assets"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue