Skip to content

Commit

Permalink
Merge pull request #484 from bobbyrullo/scope
Browse files Browse the repository at this point in the history
scope: don't validate empty scopes
  • Loading branch information
ericchiang authored Jun 24, 2016
2 parents a7b860b + c161c2e commit e134d4d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scope/scope.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit e134d4d

Please sign in to comment.