added more coverage and resolved param ref issue

Signed-off-by: quobix <dave@quobix.com>
This commit is contained in:
quobix
2023-11-03 18:25:27 -04:00
parent fde5a9972d
commit 7d8762fdd9
7 changed files with 76 additions and 22 deletions

View File

@@ -164,13 +164,10 @@ func LocateRefNodeWithContext(ctx context.Context, root *yaml.Node, idx *index.S
u.Path = abs
rv = u.String()
}
}
}
}
}
}
foundRef, fIdx, newCtx := idx.SearchIndexForReferenceWithContext(ctx, rv)