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, [