aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat/utils.rb
diff options
context:
space:
mode:
authorMike McQuaid2017-05-29 19:22:46 +0100
committerGitHub2017-05-29 19:22:46 +0100
commit744e7dd1907aaf6493e6e4622a5997b562bfbf17 (patch)
treebbc05eebc29bdb6d539cd0e9d197b3762b49ffce /Library/Homebrew/compat/utils.rb
parent3165fd2519c41a2be7e12442a5098d3b699fda04 (diff)
parent7a38bab333c6808022fe53aac2be9ca2e329cd53 (diff)
downloadbrew-744e7dd1907aaf6493e6e4622a5997b562bfbf17.tar.bz2
Merge pull request #2679 from MikeMcQuaid/parallel-rubocop
Use parallel RuboCop
Diffstat (limited to 'Library/Homebrew/compat/utils.rb')
-rw-r--r--Library/Homebrew/compat/utils.rb2
1 files changed, 1 insertions, 1 deletions
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