From abf9232f33f4d86aa3cc8f2d5631ea3bcdedca1e Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Wed, 13 Feb 2019 18:51:50 +0000 Subject: [PATCH] Updater: Exclude tools/sanitizer.js from bootstrap_js_files --- tasks/updater/js.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/updater/js.rb b/tasks/updater/js.rb index 329db541..0542629a 100644 --- a/tasks/updater/js.rb +++ b/tasks/updater/js.rb @@ -29,7 +29,7 @@ def update_javascript_assets def bootstrap_js_files @bootstrap_js_files ||= begin - src_files = get_paths_by_type('js/src', /\.js$/) - %w[index.js] + src_files = get_paths_by_type('js/src', /\.js$/) - %w[index.js tools/sanitizer.js] imports = Deps.new # Get the imports from the ES6 files to order requires correctly. read_files('js/src', src_files).each do |name, content|