Skip to content

Commit

Permalink
fix: fix root tabs query with modern javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
Amgelo563 committed Jan 11, 2025
1 parent c2d3bc1 commit b9a9202
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/query/modern/ModernQueryStrategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ export class ModernQueryStrategy implements QueryStrategy {
/extends\s+(?<superClasses>[^]*?)(?=\s*(implements|$))/;

public queryRootTabs($root: CheerioAPI): Cheerio<Element> {
return $root('#all-packages-table > .summary-table > .col-first > a');
return $root(
'#all-packages-table, #package-summary-table > .summary-table > .col-first > a',
);
}

public queryPackageDescription($package: CheerioAPI): Cheerio<Element> {
Expand Down

0 comments on commit b9a9202

Please sign in to comment.