From 7a38bab333c6808022fe53aac2be9ca2e329cd53 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 29 May 2017 18:24:52 +0100 Subject: Fixup all RuboCop warnings. --- Library/Homebrew/compat/utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/compat') diff --git a/Library/Homebrew/compat/utils.rb b/Library/Homebrew/compat/utils.rb index 3842e8a83..f2cca4726 100644 --- a/Library/Homebrew/compat/utils.rb +++ b/Library/Homebrew/compat/utils.rb @@ -19,5 +19,5 @@ end def plural(n, s = "s") odeprecated "#plural", "Formatter.pluralize" - n == 1 ? "" : s + (n == 1) ? "" : s end -- cgit v1.2.3