fix: small bug in script
This commit is contained in:
parent
d437d813ec
commit
795d6d2e07
1 changed files with 1 additions and 1 deletions
|
@ -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, [
|
||||||
|
|
Loading…
Reference in a new issue