mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 10:20:58 -06:00
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
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user