chore: guard GithubStatusChecks.new, which makes calls on initialize
This commit is contained in:
@@ -82,11 +82,12 @@ end
|
|||||||
|
|
||||||
$stdout.sync = true
|
$stdout.sync = true
|
||||||
|
|
||||||
puts "Checking build status..."
|
|
||||||
attempts = 0
|
|
||||||
checks = GithubStatusChecks.new
|
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
puts "Checking build status..."
|
||||||
|
|
||||||
|
attempts = 0
|
||||||
|
checks = GithubStatusChecks.new
|
||||||
|
|
||||||
loop do
|
loop do
|
||||||
case checks.state
|
case checks.state
|
||||||
when "success"
|
when "success"
|
||||||
|
|||||||
Reference in New Issue
Block a user