commit | be9ebad0753d4353746ed5af8ba743f8fd5c48f8 | [log] [tgz] |
---|---|---|
author | Ovilia <zwl.sjtu@gmail.com> | Mon Apr 20 09:59:35 2020 +0800 |
committer | Ovilia <zwl.sjtu@gmail.com> | Mon Apr 20 09:59:35 2020 +0800 |
tree | 21d633a2d6fa1361ba17ed1cc340d2018dcdd90a | |
parent | 2a03d653dd19b8e236e6eeb1f8b5f5f65f2e9d88 [diff] |
fix: contributor should not be considered as committer
diff --git a/index.js b/index.js index f93bd41..0563fc7 100644 --- a/index.js +++ b/index.js
@@ -173,5 +173,5 @@ } function isCommitter(auth) { - return auth === 'COLLABORATOR' || auth === 'MEMBER' || auth === 'OWNER' || auth === 'CONTRIBUTOR'; + return auth === 'COLLABORATOR' || auth === 'MEMBER' || auth === 'OWNER'; }