diff options
author | Gleb Mazovetskiy <glex.spb@gmail.com> | 2019-02-13 21:51:50 +0300 |
---|---|---|
committer | Gleb Mazovetskiy <glex.spb@gmail.com> | 2019-02-13 21:51:50 +0300 |
commit | abf9232f33f4d86aa3cc8f2d5631ea3bcdedca1e (patch) | |
tree | 3bf39ab9ff07fc36e7f9c3590bfb90fd43887eaa | |
parent | 0a29879d8df1e6f7feba0ff29df7734c1695b009 (diff) |
Updater: Exclude tools/sanitizer.js from bootstrap_js_files
-rw-r--r-- | tasks/updater/js.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/updater/js.rb b/tasks/updater/js.rb index 329db54..0542629 100644 --- a/tasks/updater/js.rb +++ b/tasks/updater/js.rb @@ -29,7 +29,7 @@ class Updater 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| |