mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-07 11:43:42 -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);
|
const data = JSON.stringify(plugins);
|
||||||
|
|
||||||
if (process.argv.length > 3) {
|
if (process.argv.length > 2) {
|
||||||
writeFileSync(process.argv[2], data);
|
writeFileSync("dist/equicordplugins.json", data);
|
||||||
writeFileSync(process.argv[3], JSON.stringify(readmes));
|
|
||||||
} else {
|
} else {
|
||||||
console.log(data);
|
console.log(data);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue