diff options
author | isaacs <i@izs.me> | 2011-04-07 21:29:16 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-04-07 21:29:16 +0400 |
commit | b3ab9139983d2f06b9d908f027c31a244a9624f2 (patch) | |
tree | f788a23452a29d31bedd95a5713e8fc5fc045ad2 /lib/owner.js | |
parent | 4b1808d873fec416c8b1472ffdb7e65822f583d3 (diff) |
filter owners by name, not email address
Diffstat (limited to 'lib/owner.js')
-rw-r--r-- | lib/owner.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/owner.js b/lib/owner.js index 38215b378..509eac95d 100644 --- a/lib/owner.js +++ b/lib/owner.js @@ -129,7 +129,7 @@ function rm (user, pkg, cb) { mutate(pkg, user, function (u, owners) { var found = false , m = owners.filter(function (o) { - var match = (o.name === u.name || o.email === u.email) + var match = (o.name === u.name) found = found || match return !match }) |