Skip to content

Commit

Permalink
Merge pull request #306 from snyk/fix/path-resolution-for-summary-file
Browse files Browse the repository at this point in the history
fix: path resolution for summary file
  • Loading branch information
tinygrasshopper committed May 31, 2024
2 parents d7c20e2 + 041143d commit a86e8f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/api-docs-generator/generator/reference_docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func GenerateReferenceDocs(cfg *config.Config, docsBasePath string) error {
}
sort.Strings(summary)

matches, err := matchCurrentSummary(cfg.Output.SummaryPath, summary)
matches, err := matchCurrentSummary(path.Join(docsBasePath, cfg.Output.SummaryPath), summary)
if err != nil {
return err
}
Expand Down

0 comments on commit a86e8f2

Please sign in to comment.