We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7eab395 commit cef1c7cCopy full SHA for cef1c7c
script/ensure-orgs
@@ -27,7 +27,7 @@ Typhoeus::Config.cache = Cache.new
27
# We'd constantly hit any rate limit as each needs to be its own query
28
def org?(user)
29
response = Typhoeus.head "https://github.com/orgs/#{user}/people", accept_encoding: 'gzip'
30
- response.success? or response.response_code == 429
+ response.success? || response.response_code == 429
31
end
32
33
puts 'Checking that all orgs listed are in fact, an org...'
0 commit comments