mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-14 18:18:42 +00:00
vercel verify services key support
This commit is contained in:
1 parent
8efc2ca86e
commit
da7646b8ae
5 files changed
+63
-8
No files matched your search
+8
-1
@@ -154,7 +154,14 @@ async function processFile(file, t) {
|
||||
if (data.services.discord) {
|
||||
t.true(
|
||||
Array.isArray(data.services.discord) || typeof data.services.discord === "string",
|
||||
`${file}: Discord service should be an array or string`
|
||||
`${file}: services.discord should be an array or string`
|
||||
);
|
||||
}
|
||||
|
||||
if (data.services.vercel) {
|
||||
t.true(
|
||||
Array.isArray(data.services.vercel) || typeof data.services.vercel === "string",
|
||||
`${file}: services.vercel should be an array or string`
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user