diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-16 12:22:17 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-17 18:50:55 +0900 |
| commit | 9a1269eaaa4b50e0d9e95041a76090e7c6f09313 (patch) | |
| tree | 5af595cc4b3819e6061301b943a7895d22fabe91 /lib | |
| parent | 26d660434325db8779b95edc6012866fe9f2403b (diff) | |
[rubygems/rubygems] util/rubocop -A --only Layout/MultilineArrayBraceLayout
https://github.com/rubygems/rubygems/commit/f4f45ab27e
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/rubygems.rb | 3 | ||||
| -rw-r--r-- | lib/rubygems/specification.rb | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/rubygems.rb b/lib/rubygems.rb index 1695d82d7a..a0b5219bf1 100644 --- a/lib/rubygems.rb +++ b/lib/rubygems.rb @@ -937,8 +937,7 @@ An Array (#{env.inspect}) was passed in from #{caller[3]} val = RbConfig::CONFIG[key] next unless val && !val.empty? ".#{val}" - end, - ].compact.uniq + end].compact.uniq end ## diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb index f620261a12..c11f67dc98 100644 --- a/lib/rubygems/specification.rb +++ b/lib/rubygems/specification.rb @@ -264,8 +264,7 @@ class Gem::Specification < Gem::BasicSpecification @test_files, add_bindir(@executables), @extra_rdoc_files, - @extensions, - ].flatten.compact.uniq.sort + @extensions].flatten.compact.uniq.sort end ## |
