diff options
author | Go MAEDA <maeda@farend.jp> | 2024-01-27 01:41:44 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-01-27 01:41:44 +0000 |
commit | 352decdb1e55e767a6407b482a421aa05f2ee519 (patch) | |
tree | 0123e1a413cbbc4a1b9471ab5bb08c5f579195e9 | |
parent | a547662ad04c144b364203027e26ef69bfebbea6 (diff) | |
download | redmine-352decdb1e55e767a6407b482a421aa05f2ee519.tar.gz redmine-352decdb1e55e767a6407b482a421aa05f2ee519.zip |
Fix RuboCop offense Style/BlockDelimiters, Layout/MultilineBlockLayout, and Layout/BlockEndNewline (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22645 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | lib/redmine/themes.rb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/redmine/themes.rb b/lib/redmine/themes.rb index 6126fde5e..14e04f063 100644 --- a/lib/redmine/themes.rb +++ b/lib/redmine/themes.rb @@ -112,9 +112,11 @@ module Redmine def asset_paths base_dir = Pathname.new(path) - paths = base_dir.children.filter_map{|child| child if child.directory? && - child.basename.to_s != "src" && - !child.basename.to_s.start_with?('.') } + paths = base_dir.children.filter_map do |child| + child if child.directory? && + child.basename.to_s != "src" && + !child.basename.to_s.start_with?('.') + end Redmine::AssetPath.new(base_dir, paths, asset_prefix) end |