From 839af9d48635d425131e5fa53c90835da7952a2b Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Thu, 18 Jul 2024 18:24:18 -0400 Subject: [PATCH] use arg dir --- scripts/generateEquicordPluginList.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generateEquicordPluginList.ts b/scripts/generateEquicordPluginList.ts index 8a583ef5..b806d7a9 100644 --- a/scripts/generateEquicordPluginList.ts +++ b/scripts/generateEquicordPluginList.ts @@ -255,7 +255,7 @@ function isPluginFile({ name }: { name: string; }) { const data = JSON.stringify(plugins); if (process.argv.length > 2) { - writeFileSync("dist/equicordplugins.json", data); + writeFileSync(process.argv[2], data); } else { console.log(data); }