aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/deps.rb
diff options
context:
space:
mode:
authorMike McQuaid2016-09-18 13:28:15 +0100
committerGitHub2016-09-18 13:28:15 +0100
commit59b7f16bfd9c1968aae0a2f1cd9a43d3d160d99f (patch)
tree17d2adec882cdeef36a8fd40d891fe7fe4021572 /Library/Homebrew/cmd/deps.rb
parent56541001a45ea58c54096bc42584c17d72b1415a (diff)
parent1bdbb0f462e4c3557bbcba0b203696bdcf025bb4 (diff)
downloadbrew-59b7f16bfd9c1968aae0a2f1cd9a43d3d160d99f.tar.bz2
Merge pull request #989 from MikeMcQuaid/rubocop-final
Rubocop: apply auto-corrections and don't use hash-rockets
Diffstat (limited to 'Library/Homebrew/cmd/deps.rb')
-rw-r--r--Library/Homebrew/cmd/deps.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Homebrew/cmd/deps.rb b/Library/Homebrew/cmd/deps.rb
index 8db70461e..acaf922d7 100644
--- a/Library/Homebrew/cmd/deps.rb
+++ b/Library/Homebrew/cmd/deps.rb
@@ -44,11 +44,11 @@ require "ostruct"
module Homebrew
def deps
mode = OpenStruct.new(
- :installed? => ARGV.include?("--installed"),
- :tree? => ARGV.include?("--tree"),
- :all? => ARGV.include?("--all"),
- :topo_order? => ARGV.include?("-n"),
- :union? => ARGV.include?("--union")
+ installed?: ARGV.include?("--installed"),
+ tree?: ARGV.include?("--tree"),
+ all?: ARGV.include?("--all"),
+ topo_order?: ARGV.include?("-n"),
+ union?: ARGV.include?("--union")
)
if mode.installed? && mode.tree?