mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-30 19:23:29 -05:00
use arg dir
This commit is contained in:
parent
a8e4d68705
commit
839af9d486
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue