mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 13:23:28 -05:00
Fix some issues I made
This commit is contained in:
parent
857e4ae872
commit
4d0152b1c2
2 changed files with 2 additions and 4 deletions
|
@ -247,10 +247,9 @@ function isPluginFile({ name }: { name: string; }) {
|
|||
.filter(isPluginFile)
|
||||
.map(async dirent => {
|
||||
const [data, readme] = await parseFile(await getEntryPoint(dir, dirent));
|
||||
plugins.push(data);
|
||||
plugins.sort().push(data);
|
||||
if (readme) readmes[data.name] = readme;
|
||||
})
|
||||
.sort()
|
||||
));
|
||||
|
||||
const data = JSON.stringify(plugins);
|
||||
|
|
|
@ -247,10 +247,9 @@ function isPluginFile({ name }: { name: string; }) {
|
|||
.filter(isPluginFile)
|
||||
.map(async dirent => {
|
||||
const [data, readme] = await parseFile(await getEntryPoint(dir, dirent));
|
||||
plugins.push(data);
|
||||
plugins.sort().push(data);
|
||||
if (readme) readmes[data.name] = readme;
|
||||
})
|
||||
.sort()
|
||||
));
|
||||
|
||||
const data = JSON.stringify(plugins);
|
||||
|
|
Loading…
Reference in a new issue