aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/generate-code-contributors.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/generate-code-contributors.ts b/scripts/generate-code-contributors.ts
index 0d6266056..c745b1cb2 100755
--- a/scripts/generate-code-contributors.ts
+++ b/scripts/generate-code-contributors.ts
@@ -13,7 +13,7 @@ async function run () {
13 { 13 {
14 const contributors = await fetchGithub('https://api.github.com/repos/chocobozzz/peertube/contributors') 14 const contributors = await fetchGithub('https://api.github.com/repos/chocobozzz/peertube/contributors')
15 15
16 console.log('# Code\n') 16 console.log('# Code contributors\n')
17 for (const contributor of contributors) { 17 for (const contributor of contributors) {
18 const contributorUrl = contributor.url.replace('api.github.com/users', 'github.com') 18 const contributorUrl = contributor.url.replace('api.github.com/users', 'github.com')
19 console.log(` * [${contributor.login}](${contributorUrl})`) 19 console.log(` * [${contributor.login}](${contributorUrl})`)
@@ -27,7 +27,7 @@ async function run () {
27 27
28 const translators = await fetchZanata(zanataUsername, zanataToken) 28 const translators = await fetchZanata(zanataUsername, zanataToken)
29 29
30 console.log('\n\n# Translations\n') 30 console.log('\n\n# Translation contributors\n')
31 for (const translator of translators) { 31 for (const translator of translators) {
32 console.log(` * [${translator.username}](https://trad.framasoft.org/zanata/profile/view/${translator.username})`) 32 console.log(` * [${translator.username}](https://trad.framasoft.org/zanata/profile/view/${translator.username})`)
33 } 33 }