diff --git a/package.json b/package.json index 7c9ffaf..cb7df83 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@squeebot/core", - "version": "3.3.4", + "version": "3.3.5", "description": "Squeebot v3 core for the execution environment", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/src/plugin/repository/manager.ts b/src/plugin/repository/manager.ts index 28eb264..1de6f6f 100644 --- a/src/plugin/repository/manager.ts +++ b/src/plugin/repository/manager.ts @@ -159,7 +159,7 @@ export class RepositoryManager { const indexFileGet = await httpGET(url); const meta = JSON.parse(indexFileGet); - if (!meta.name || !meta.plugins || !meta.schema) { + if (!meta.name || !meta.plugins || !(meta.$schema || meta.schema)) { throw new Error('Invalid metadata file for repository.'); }