brew style --fix

This commit is contained in:
Douglas Eichelberger 2023-03-01 09:13:42 -08:00
parent 71402a9a41
commit a5aef97851
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ class BuildOptions
if option_defined? "with-#{name}"
include? "with-#{name}"
elsif option_defined? "without-#{name}"
!include? "without-#{name}" # rubocop:disable Rails/NegateInclude
!include? "without-#{name}"
else
false
end

View File

@ -132,7 +132,7 @@ module Utils
timeout: end_time&.remaining,
**command_options
return result if result.success? || !args.exclude?("--http1.1")
return result if result.success? || args.include?("--http1.1")
raise Timeout::Error, result.stderr.lines.last.chomp if timeout && result.status.exitstatus == 28