Skip to content
Snippets Groups Projects
Commit e134d4d2 authored by Eric Chiang's avatar Eric Chiang Committed by GitHub
Browse files

Merge pull request #484 from bobbyrullo/scope

scope: don't validate empty scopes
parents a7b860b9 c161c2e1
Branches main
No related tags found
No related merge requests found
......@@ -41,6 +41,9 @@ func (s Scopes) Contains(other Scopes) bool {
for _, scope := range other {
if _, ok := rScopes[scope]; !ok {
if scope == "" {
continue
}
return false
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment