Merge branch 'master' of https://github.com/spotify/backstage into lintMod

This commit is contained in:
Debajyoti Halder
2021-02-02 17:02:33 +05:30
294 changed files with 5833 additions and 1341 deletions
@@ -69,6 +69,14 @@ export function compileConfigSchemas(
},
});
for (const schema of schemas) {
try {
ajv.compile(schema.value);
} catch (error) {
throw new Error(`Schema at ${schema.path} is invalid, ${error}`);
}
}
const merged = mergeAllOf(
{ allOf: schemas.map(_ => _.value) },
{