refactor GitHub.multiple_short_commits_exist?
This commit is contained in:
parent
43eca95ce4
commit
903cac3651
@ -696,8 +696,7 @@ module GitHub
|
|||||||
|
|
||||||
return true if status.success?
|
return true if status.success?
|
||||||
return true unless output
|
return true unless output
|
||||||
return true if output[/^Status: (200)/, 1] != "200"
|
|
||||||
|
|
||||||
false
|
output[/^Status: (200)/, 1] != "200"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user