mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
chore: remove email from AUTHORS.txt (#43740)
* chore: remove email from AUTHORS.txt * Update scripts/generate-authors.ts Co-authored-by: lijianan <574980606@qq.com> Signed-off-by: afc163 <afc163@gmail.com> --------- Signed-off-by: afc163 <afc163@gmail.com> Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: lijianan <574980606@qq.com>
This commit is contained in:
parent
0c9653f5fb
commit
484521e546
3202
AUTHORS.txt
3202
AUTHORS.txt
File diff suppressed because it is too large
Load Diff
@ -30,7 +30,7 @@ async function execute() {
|
|||||||
logs = _.sortBy(_.unionBy(logs, 'author_email'), 'author_name');
|
logs = _.sortBy(_.unionBy(logs, 'author_email'), 'author_name');
|
||||||
fs.writeFileSync(
|
fs.writeFileSync(
|
||||||
path.join(cwd, 'AUTHORS.txt'),
|
path.join(cwd, 'AUTHORS.txt'),
|
||||||
logs.map((item) => `${item.author_name} <${item.author_email}>`).join('\n'),
|
Array.from(new Set(logs.map((item) => item.author_name))).join('\n'),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user