mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-06 04:20:11 +00:00
chopping through index changes, basic design works.
seems to be holding, more tests to change. Signed-off-by: quobix <dave@quobix.com>
This commit is contained in:
@@ -149,9 +149,7 @@ func (index *SpecIndex) ExtractRefs(node, parent *yaml.Node, seenPath []string,
|
||||
index.linesWithRefs[n.Line] = true
|
||||
|
||||
fp := make([]string, len(seenPath))
|
||||
for x, foundPathNode := range seenPath {
|
||||
fp[x] = foundPathNode
|
||||
}
|
||||
copy(fp, seenPath)
|
||||
|
||||
value := node.Content[i+1].Value
|
||||
|
||||
|
||||
Reference in New Issue
Block a user