Fix some issues I made

This commit is contained in:
thororen1234 2024-10-19 15:51:18 -04:00
parent 857e4ae872
commit 4d0152b1c2
2 changed files with 2 additions and 4 deletions

View file

@ -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);

View file

@ -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);