Skip to content

Commit 4bc2e11

Browse files
committed
Fix pluralization in multi_ecosystem_base_title method
1 parent 36f05da commit 4bc2e11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

common/lib/dependabot/pull_request_creator/message_builder/title_builder.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def initialize(base_title:, prefixer: nil, commit_message_options: nil, dependen
5050
sig { params(group_name: String, update_count: Integer).returns(String) }
5151
def self.multi_ecosystem_base_title(group_name:, update_count:)
5252
"bump the \"#{group_name}\" group with " \
53-
"#{update_count} update#{'s' if update_count > 1} across multiple ecosystems"
53+
"#{update_count} update#{'s' unless update_count == 1} across multiple ecosystems"
5454
end
5555

5656
sig { returns(String) }

0 commit comments

Comments
 (0)