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