From 4d0152b1c2f163114f97309a2408e6dc2acb25da Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Sat, 19 Oct 2024 15:51:18 -0400 Subject: [PATCH] Fix some issues I made --- scripts/generateEquicordPluginList.ts | 3 +-- scripts/generatePluginList.ts | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/generateEquicordPluginList.ts b/scripts/generateEquicordPluginList.ts index 943da452..eded89f0 100644 --- a/scripts/generateEquicordPluginList.ts +++ b/scripts/generateEquicordPluginList.ts @@ -247,10 +247,9 @@ function isPluginFile({ name }: { name: string; }) { .filter(isPluginFile) .map(async dirent => { const [data, readme] = await parseFile(await getEntryPoint(dir, dirent)); - plugins.push(data); + plugins.sort().push(data); if (readme) readmes[data.name] = readme; }) - .sort() )); const data = JSON.stringify(plugins); diff --git a/scripts/generatePluginList.ts b/scripts/generatePluginList.ts index 957e8678..501684e8 100644 --- a/scripts/generatePluginList.ts +++ b/scripts/generatePluginList.ts @@ -247,10 +247,9 @@ function isPluginFile({ name }: { name: string; }) { .filter(isPluginFile) .map(async dirent => { const [data, readme] = await parseFile(await getEntryPoint(dir, dirent)); - plugins.push(data); + plugins.sort().push(data); if (readme) readmes[data.name] = readme; }) - .sort() )); const data = JSON.stringify(plugins);