fix: small bug in script

This commit is contained in:
Pieter Vander Vennet 2023-03-09 15:15:24 +01:00
parent d437d813ec
commit 795d6d2e07

View file

@ -42,7 +42,7 @@ function WalkScheme<T>(
} }
const definitionName = ref.substr(prefix.length) const definitionName = ref.substr(prefix.length)
if (isHandlingReference.indexOf(definitionName) >= 0) { if (isHandlingReference.indexOf(definitionName) >= 0) {
return return []
} }
const loadedScheme = fullScheme.definitions[definitionName] const loadedScheme = fullScheme.definitions[definitionName]
return WalkScheme(onEach, loadedScheme, fullScheme, path, [ return WalkScheme(onEach, loadedScheme, fullScheme, path, [