diff options
author | isaacs <i@izs.me> | 2010-12-18 10:51:37 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-12-18 10:51:37 +0300 |
commit | df997206f7ee2b9e86ab2794f190395b30b4f188 (patch) | |
tree | 97127e229b646996f237b9e06d841911920705c1 /lib/owner.js | |
parent | e8f83cad9495cba3d96fa7a4c27451b2860d7f58 (diff) |
Fix #270. Allow owners with the same 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 f40d89703..7bd014372 100644 --- a/lib/owner.js +++ b/lib/owner.js @@ -62,7 +62,7 @@ function add (user, pkg, cb) { if (!owners) owners = [] for (var i = 0, l = owners.length; i < l; i ++) { var o = owners[i] - if (o.name === u.name || o.email === u.email) { + if (o.name === u.name) { log( "Already a package owner: "+o.name+" <"+o.email+">" , "owner add" ) |