From 1f6f33aeb2e67fa5db566195dff72c08df1f3f36 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Thu, 18 Jul 2024 18:21:45 -0400 Subject: [PATCH] fix --- scripts/generateEquicordPluginList.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/generateEquicordPluginList.ts b/scripts/generateEquicordPluginList.ts index a657da4b..8a583ef5 100644 --- a/scripts/generateEquicordPluginList.ts +++ b/scripts/generateEquicordPluginList.ts @@ -254,9 +254,8 @@ function isPluginFile({ name }: { name: string; }) { const data = JSON.stringify(plugins); - if (process.argv.length > 3) { - writeFileSync(process.argv[2], data); - writeFileSync(process.argv[3], JSON.stringify(readmes)); + if (process.argv.length > 2) { + writeFileSync("dist/equicordplugins.json", data); } else { console.log(data); }