diff options
author | Stan Lo <[email protected]> | 2024-07-17 21:42:58 +0100 |
---|---|---|
committer | git <[email protected]> | 2024-07-17 20:43:08 +0000 |
commit | 239d54dfbce0f38cf4d31fa252b4d9bd65477bac (patch) | |
tree | e45982071e39c601d1e200015d71fae2c81876f1 /lib/rdoc/parser/changelog.rb | |
parent | 573c2893dce90c3254bfcb496be74b652d1cae29 (diff) |
[ruby/rdoc] Improve rubocop setup
(https://github.com/ruby/rdoc/pull/1139)
* Rename rake rubocop to rake format_generated_files
* Add rubocop rules to ensure spaces are applied consistently
* Improve rubocop related CI workflows
https://github.com/ruby/rdoc/commit/27932d001c
Diffstat (limited to 'lib/rdoc/parser/changelog.rb')
-rw-r--r-- | lib/rdoc/parser/changelog.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/parser/changelog.rb b/lib/rdoc/parser/changelog.rb index 4014c6eb1c..12a50f8d0e 100644 --- a/lib/rdoc/parser/changelog.rb +++ b/lib/rdoc/parser/changelog.rb @@ -193,7 +193,7 @@ class RDoc::Parser::ChangeLog < RDoc::Parser entries << [entry_name, entry_body] if entry_name - entries.reject! do |(entry,_)| + entries.reject! do |(entry, _)| entry == nil end |