mirror of
https://github.com/RobinRMC/VencordPlus.git
synced 2025-05-11 18:05:39 +02:00
Update generatePluginList.ts
This commit is contained in:
parent
f11500eacb
commit
685c21ee6e
1 changed files with 5 additions and 5 deletions
|
@ -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 => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue