From a1170970db0e08a92b03b80e3f561e945bca4549 Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Mon, 20 Jun 2022 17:18:35 +0200 Subject: [PATCH] FIX: Add wizard.js to ember-cli assets (#17153) --- lib/ember_cli.rb | 1 + lib/tasks/assets.rake | 12 ------------ 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/lib/ember_cli.rb b/lib/ember_cli.rb index a1944f4585d..64690949d73 100644 --- a/lib/ember_cli.rb +++ b/lib/ember_cli.rb @@ -4,6 +4,7 @@ module EmberCli ASSETS = %w( discourse.js admin.js + wizard.js ember_jquery.js pretty-text-bundle.js start-discourse.js diff --git a/lib/tasks/assets.rake b/lib/tasks/assets.rake index 12859f99012..e69e192108c 100644 --- a/lib/tasks/assets.rake +++ b/lib/tasks/assets.rake @@ -90,18 +90,6 @@ task 'assets:flush_sw' => 'environment' do end end -def is_ember_cli_asset?(name) - %w( - discourse.js - admin.js - wizard.js - ember_jquery.js - pretty-text-bundle.js - start-discourse.js - vendor.js - ).include?(name) || name.start_with?("chunk.") -end - def assets_path "#{Rails.root}/public/assets" end