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:
kiner-tang(文辉) 2023-07-24 12:01:33 +08:00 committed by GitHub
parent 0c9653f5fb
commit 484521e546
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1591 additions and 1613 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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'),
); );
} }