From 527e0f3e9cf85f8b2930df7848357c2b6bc526e4 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Tue, 5 Apr 2022 14:35:41 +0200 Subject: [PATCH] remove unused code --- generate_translations.mjs | 3 --- joinlemmy-translations | 2 +- lemmy-instance-stats | 2 +- lemmy-translations | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/generate_translations.mjs b/generate_translations.mjs index de875e9..b6a739d 100644 --- a/generate_translations.mjs +++ b/generate_translations.mjs @@ -1,7 +1,5 @@ import fs from 'fs'; -import fetch from 'node-fetch'; import path from 'path'; -import { exit } from 'process'; const translationDir = "joinlemmy-translations/translations/"; const outDir = "src/shared/translations/"; @@ -9,7 +7,6 @@ const translatorsJsonFile = "lemmy-translations/translators.json"; const statsFile = "lemmy-instance-stats/stats.json"; const recommendationsFile = "lemmy-instance-stats/recommended-instances.csv"; const newsDir = "src/assets/news"; -const releasesLocation = "https://raw.githubusercontent.com/LemmyNet/lemmy/main/RELEASES.md"; fs.mkdirSync(outDir, { recursive: true }); diff --git a/joinlemmy-translations b/joinlemmy-translations index f6afc3a..6fc4a95 160000 --- a/joinlemmy-translations +++ b/joinlemmy-translations @@ -1 +1 @@ -Subproject commit f6afc3af86a5818abeaab07472d008f6bd2b237f +Subproject commit 6fc4a95b6eaf54e68983d217fb9a310e7c8ed63c diff --git a/lemmy-instance-stats b/lemmy-instance-stats index 226c793..8c7a2e0 160000 --- a/lemmy-instance-stats +++ b/lemmy-instance-stats @@ -1 +1 @@ -Subproject commit 226c7930eca4fafb0aefc7121d9a15add7ea5d60 +Subproject commit 8c7a2e001508f40b171417d18952ad1896af85cd diff --git a/lemmy-translations b/lemmy-translations index 2c557fd..ad40feb 160000 --- a/lemmy-translations +++ b/lemmy-translations @@ -1 +1 @@ -Subproject commit 2c557fdcf69659fb9ce587d786e362ca024bcca1 +Subproject commit ad40feba4263a850f135946847d3ddd1a890a6e7