fix
This commit is contained in:
parent
855d742203
commit
7583530c6c
@ -82,6 +82,9 @@ func (t *TypescriptApiParser) parseFile(sourceFilePath string) ([]api.Endpoint,
|
|||||||
outer:
|
outer:
|
||||||
for _, jsDocNode := range jsDocNodes {
|
for _, jsDocNode := range jsDocNodes {
|
||||||
jsDoc := jsDocNode.AsJSDoc()
|
jsDoc := jsDocNode.AsJSDoc()
|
||||||
|
if jsDoc.Tags == nil {
|
||||||
|
continue
|
||||||
|
}
|
||||||
for _, tag := range jsDoc.Tags.Nodes {
|
for _, tag := range jsDoc.Tags.Nodes {
|
||||||
if tag.TagName().Text() == TagName {
|
if tag.TagName().Text() == TagName {
|
||||||
for _, com := range tag.Comments() {
|
for _, com := range tag.Comments() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user