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

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

diff --git a/lib/tasks/assets.rake b/lib/tasks/assets.rake
index 67788e3..87a32da 100644
--- a/lib/tasks/assets.rake
+++ b/lib/tasks/assets.rake
@@ -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

GitHub sha: 5f3fd23f

This commit appears in #10021 which was merged by riking.