aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/sandbox.rb
diff options
context:
space:
mode:
authorMike McQuaid2017-09-24 19:24:46 +0100
committerMike McQuaid2017-09-24 21:23:59 +0100
commit01e9ec9a9f723b2ef89c7adfaea39f9e4db9aede (patch)
treeee2cba40aabe7bd2b103f75cb61d5af3a83104d3 /Library/Homebrew/sandbox.rb
parent9eb51db400261545822c8c03c2e9d587d70e8ad0 (diff)
downloadbrew-01e9ec9a9f723b2ef89c7adfaea39f9e4db9aede.tar.bz2
Rubocop: automatic rule fixes.
Diffstat (limited to 'Library/Homebrew/sandbox.rb')
-rw-r--r--Library/Homebrew/sandbox.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/sandbox.rb b/Library/Homebrew/sandbox.rb
index 8c662857e..7d23e5966 100644
--- a/Library/Homebrew/sandbox.rb
+++ b/Library/Homebrew/sandbox.rb
@@ -167,7 +167,7 @@ class Sandbox
def add_rule(rule)
s = "("
- s << ((rule[:allow]) ? "allow" : "deny")
+ s << (rule[:allow] ? "allow" : "deny")
s << " #{rule[:operation]}"
s << " (#{rule[:filter]})" if rule[:filter]
s << " (with #{rule[:modifier]})" if rule[:modifier]