Rubocop autofixes
This commit is contained in:
parent
41e6131ade
commit
b23f990175
@ -511,7 +511,7 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
|
|
||||||
def check_git_version
|
def check_git_version
|
||||||
minimum_version = ENV["HOMEBREW_MINIMUM_GIT_VERSION"].freeze
|
minimum_version = ENV["HOMEBREW_MINIMUM_GIT_VERSION"]
|
||||||
return unless Utils.git_available?
|
return unless Utils.git_available?
|
||||||
return if Version.create(Utils.git_version) >= Version.create(minimum_version)
|
return if Version.create(Utils.git_version) >= Version.create(minimum_version)
|
||||||
|
|
||||||
|
@ -324,7 +324,7 @@ class Tab < OpenStruct
|
|||||||
Time.at(super)
|
Time.at(super)
|
||||||
end
|
end
|
||||||
|
|
||||||
def to_json
|
def to_json(_opts)
|
||||||
attributes = {
|
attributes = {
|
||||||
"homebrew_version" => homebrew_version,
|
"homebrew_version" => homebrew_version,
|
||||||
"used_options" => used_options.as_flags,
|
"used_options" => used_options.as_flags,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user