Fix style

This commit is contained in:
alexbostock 2018-07-02 10:46:41 +01:00
parent 22b3102fbe
commit b548dbde97
2 changed files with 3 additions and 3 deletions

View File

@ -145,14 +145,14 @@ module Hbc
"container" => container, "container" => container,
"gpg" => gpg, "gpg" => gpg,
"accessibility_access" => accessibility_access, "accessibility_access" => accessibility_access,
"auto_updates" => auto_updates "auto_updates" => auto_updates,
} }
artifacts.each do |a| artifacts.each do |a|
hsh["artifacts"][a.class.english_name] = a.summarize hsh["artifacts"][a.class.english_name] = a.summarize
end end
hsh["conflicts_with"] = [] if hsh["conflicts_with"] == nil hsh["conflicts_with"] = [] if hsh["conflicts_with"].nil?
hsh hsh
end end

View File

@ -4,7 +4,7 @@ module Hbc
class CLI class CLI
class Info < AbstractCommand class Info < AbstractCommand
option "--json-v1", :json, false option "--json-v1", :json, false
def initialize(*) def initialize(*)
super super
raise CaskUnspecifiedError if args.empty? raise CaskUnspecifiedError if args.empty?