diff --git a/Library/Homebrew/utils/github.rb b/Library/Homebrew/utils/github.rb index 1aacf3099a..78581ee724 100644 --- a/Library/Homebrew/utils/github.rb +++ b/Library/Homebrew/utils/github.rb @@ -696,8 +696,7 @@ module GitHub return true if status.success? return true unless output - return true if output[/^Status: (200)/, 1] != "200" - false + output[/^Status: (200)/, 1] != "200" end end