mirror of
https://github.com/Elysola/WebHooker.git
synced 2026-11-21 01:23:40 +00:00
docs: fix factual errors, fill coverage gaps and align zh mirror
This commit is contained in:
35 files changed
+912
-316
No files matched your search
@@ -285,12 +285,12 @@ export function validateGroups(
|
||||
g.providers !== undefined &&
|
||||
(!Array.isArray(g.providers) ||
|
||||
!g.providers.every(
|
||||
(p) => typeof p === "string" && ["github", "gitea", "gitlab"].includes(p),
|
||||
(p) => typeof p === "string" && ["github", "gitea"].includes(p),
|
||||
))
|
||||
) {
|
||||
return {
|
||||
ok: false,
|
||||
error: `group "${g.id}".providers must be a list of "github" | "gitea" | "gitlab"`,
|
||||
error: `group "${g.id}".providers must be a list of "github" | "gitea"`,
|
||||
};
|
||||
}
|
||||
if (g.installationId !== undefined && g.installationId !== null) {
|
||||
|
||||
Reference in new issue
Block a user