From 795d6d2e072d13c1d64259ac8ff960d618c2deba Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Thu, 9 Mar 2023 15:15:24 +0100 Subject: [PATCH] fix: small bug in script --- scripts/fixSchemas.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fixSchemas.ts b/scripts/fixSchemas.ts index f50785acf..7e1672b9d 100644 --- a/scripts/fixSchemas.ts +++ b/scripts/fixSchemas.ts @@ -42,7 +42,7 @@ function WalkScheme( } const definitionName = ref.substr(prefix.length) if (isHandlingReference.indexOf(definitionName) >= 0) { - return + return [] } const loadedScheme = fullScheme.definitions[definitionName] return WalkScheme(onEach, loadedScheme, fullScheme, path, [