Commit e134d4d2 authored by Eric Chiang's avatar Eric Chiang Committed by GitHub

Merge pull request #484 from bobbyrullo/scope

scope: don't validate empty scopes
parents a7b860b9 c161c2e1
...@@ -41,6 +41,9 @@ func (s Scopes) Contains(other Scopes) bool { ...@@ -41,6 +41,9 @@ func (s Scopes) Contains(other Scopes) bool {
for _, scope := range other { for _, scope := range other {
if _, ok := rScopes[scope]; !ok { if _, ok := rScopes[scope]; !ok {
if scope == "" {
continue
}
return false return false
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment