Fix duplicated in CREDITS

This commit is contained in:
Chocobozzz 2019-11-05 08:56:27 +01:00
parent 71056d0008
commit ebd316d142
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 4 additions and 35 deletions

View file

@ -1,8 +1,10 @@
import { registerTSPaths } from '../server/helpers/register-ts-paths'
registerTSPaths()
import { doRequest } from '../server/helpers/requests'
import { readFileSync } from 'fs-extra'
import { uniqBy } from 'lodash'
run()
.then(() => process.exit(0))
@ -89,5 +91,5 @@ async function fetchZanata (zanataUsername: string, zanataPassword: string) {
get(year2019, headers)
])
return results2018.concat(results2019)
return uniqBy((results2018.concat(results2019)), 'username')
}