From 0008f296b178f8551212ce6562640d56be5fc0aa Mon Sep 17 00:00:00 2001 From: aramissennyeydd Date: Sun, 17 Mar 2024 17:27:27 +0100 Subject: [PATCH 1/2] fix: ajv warning for stricttypes Signed-off-by: aramissennyeydd --- plugins/tech-insights-backend-module-jsonfc/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/tech-insights-backend-module-jsonfc/config.json b/plugins/tech-insights-backend-module-jsonfc/config.json index b95b5e52bb..347d4aa54f 100644 --- a/plugins/tech-insights-backend-module-jsonfc/config.json +++ b/plugins/tech-insights-backend-module-jsonfc/config.json @@ -109,7 +109,7 @@ ] }, "rule": { - "type": "string", + "type": "object", "required": ["conditions"], "properties": { "conditions": { From 6ce8c0be292c7cf8d632d95aa865ed59c0fbc6bd Mon Sep 17 00:00:00 2001 From: aramissennyeydd Date: Sun, 17 Mar 2024 17:29:09 +0100 Subject: [PATCH 2/2] add changeset Signed-off-by: aramissennyeydd --- .changeset/popular-guests-tickle.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/popular-guests-tickle.md diff --git a/.changeset/popular-guests-tickle.md b/.changeset/popular-guests-tickle.md new file mode 100644 index 0000000000..e442dae2d5 --- /dev/null +++ b/.changeset/popular-guests-tickle.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-tech-insights-backend-module-jsonfc': patch +--- + +Fixes an invalid line in the schema that was causing AJV to complain.