From 2a84d215282116d96ef30770642a54296552f146 Mon Sep 17 00:00:00 2001 From: Max Edell Date: Fri, 13 Dec 2024 10:07:17 +0100 Subject: [PATCH] fix: tweak config schema --- src/schemas/Config.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/schemas/Config.js b/src/schemas/Config.js index a7c461b..67ef500 100644 --- a/src/schemas/Config.js +++ b/src/schemas/Config.js @@ -68,14 +68,12 @@ const ConfigEntry = { const Config = { type: 'object', properties: { - base: { - ...ConfigEntry, - required: [ - 'base', - ], - }, + base: ConfigEntry, }, additionalProperties: ConfigEntry, + required: [ + 'base', + ], }; export default Config;