Update generatePluginList.ts

This commit is contained in:
RobinRMC 2024-07-15 16:08:39 +02:00 committed by GitHub
parent f11500eacb
commit 685c21ee6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -150,7 +150,7 @@ function parseSuncordDevs() {
throw new Error("Could not find Devs constant");
throw new Error("Could not find SuncordDevs constant");
}
@ -210,7 +210,7 @@ function parseEquicordDevs() {
throw new Error("Could not find Devs constant");
throw new Error("Could not find EquicordDevs constant");
}
@ -270,7 +270,7 @@ function parsePlusDevs() {
throw new Error("Could not find Devs constant");
throw new Error("Could not find PlusDevs constant");
}
@ -330,7 +330,7 @@ function parsePlusMts() {
throw new Error("Could not find Devs constant");
throw new Error("Could not find PlusMts constant");
}
@ -457,7 +457,7 @@ function isPluginFile({ name }: { name: string; }) {
const plugins = [] as PluginData[];
const readmes = {} as Record<string, string>;
await Promise.all(["src/plugins", "src/plugins/_core", "src/plusplugins"].flatMap(dir =>
await Promise.all(["src/plugins", "src/plugins/_core"].flatMap(dir =>
readdirSync(dir, { withFileTypes: true })
.filter(isPluginFile)
.map(async dirent => {