Remove empty line.

This commit is contained in:
Markus Reiter 2024-02-10 12:10:55 +01:00 committed by GitHub
parent 3dc104167e
commit 94afce5b13
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -197,7 +197,6 @@ module GitHub
scopes = response_headers["x-accepted-oauth-scopes"].to_s.split(", ") scopes = response_headers["x-accepted-oauth-scopes"].to_s.split(", ")
needed_scopes = Set.new(scopes || needed_scopes) needed_scopes = Set.new(scopes || needed_scopes)
credentials_scopes = response_headers["x-oauth-scopes"] credentials_scopes = response_headers["x-oauth-scopes"]
return if needed_scopes.subset?(Set.new(credentials_scopes.to_s.split(", "))) return if needed_scopes.subset?(Set.new(credentials_scopes.to_s.split(", ")))