brew style --fix
This commit is contained in:
parent
71402a9a41
commit
a5aef97851
@ -29,7 +29,7 @@ class BuildOptions
|
|||||||
if option_defined? "with-#{name}"
|
if option_defined? "with-#{name}"
|
||||||
include? "with-#{name}"
|
include? "with-#{name}"
|
||||||
elsif option_defined? "without-#{name}"
|
elsif option_defined? "without-#{name}"
|
||||||
!include? "without-#{name}" # rubocop:disable Rails/NegateInclude
|
!include? "without-#{name}"
|
||||||
else
|
else
|
||||||
false
|
false
|
||||||
end
|
end
|
||||||
|
|||||||
@ -132,7 +132,7 @@ module Utils
|
|||||||
timeout: end_time&.remaining,
|
timeout: end_time&.remaining,
|
||||||
**command_options
|
**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
|
raise Timeout::Error, result.stderr.lines.last.chomp if timeout && result.status.exitstatus == 28
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user