ci: fix service config retrieval

This commit is contained in:
wukko 2024-08-03 16:36:01 +06:00
parent 0a411196e9
commit 417a21ea91
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -14,7 +14,7 @@ const finnicky = new Set(['bilibili', 'instagram', 'youtube'])
const action = process.argv[2];
switch (action) {
case "get-services":
const fromConfig = Object.keys(services.config);
const fromConfig = Object.keys(services);
const missingTests = fromConfig.filter(
service => !tests[service] || tests[service].length === 0