fix: correct duplicate condition in registerDeveloper dedup check
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
This commit is contained in:
parent
e160fbbde1
commit
cfe43e7d6f
|
|
@ -325,7 +325,7 @@ function registerDeveloper(info) {
|
|||
// 去重检查:按 name 或 github_username 去重
|
||||
const existing = devs.find(d =>
|
||||
(info.name && d.name === info.name) ||
|
||||
(info.github_username && info.github_username && d.github_username === info.github_username)
|
||||
(info.github_username && d.github_username && d.github_username === info.github_username)
|
||||
);
|
||||
|
||||
if (existing) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue