remove unused code

This commit is contained in:
Felix Ableitner 2022-04-05 14:35:41 +02:00
parent 23a0391408
commit 527e0f3e9c
4 changed files with 3 additions and 6 deletions

View file

@ -1,7 +1,5 @@
import fs from 'fs'; import fs from 'fs';
import fetch from 'node-fetch';
import path from 'path'; import path from 'path';
import { exit } from 'process';
const translationDir = "joinlemmy-translations/translations/"; const translationDir = "joinlemmy-translations/translations/";
const outDir = "src/shared/translations/"; const outDir = "src/shared/translations/";
@ -9,7 +7,6 @@ const translatorsJsonFile = "lemmy-translations/translators.json";
const statsFile = "lemmy-instance-stats/stats.json"; const statsFile = "lemmy-instance-stats/stats.json";
const recommendationsFile = "lemmy-instance-stats/recommended-instances.csv"; const recommendationsFile = "lemmy-instance-stats/recommended-instances.csv";
const newsDir = "src/assets/news"; const newsDir = "src/assets/news";
const releasesLocation = "https://raw.githubusercontent.com/LemmyNet/lemmy/main/RELEASES.md";
fs.mkdirSync(outDir, { recursive: true }); fs.mkdirSync(outDir, { recursive: true });

@ -1 +1 @@
Subproject commit f6afc3af86a5818abeaab07472d008f6bd2b237f Subproject commit 6fc4a95b6eaf54e68983d217fb9a310e7c8ed63c

@ -1 +1 @@
Subproject commit 226c7930eca4fafb0aefc7121d9a15add7ea5d60 Subproject commit 8c7a2e001508f40b171417d18952ad1896af85cd

@ -1 +1 @@
Subproject commit 2c557fdcf69659fb9ce587d786e362ca024bcca1 Subproject commit ad40feba4263a850f135946847d3ddd1a890a6e7