Skip to content

Commit

Permalink
move boost checkout out of init block
Browse files Browse the repository at this point in the history
  • Loading branch information
shmax committed Jun 24, 2022
1 parent ba58696 commit 2e7a34c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib/output/plugins/JavascriptIndexPlugin.ts
Expand Up @@ -73,11 +73,11 @@ export class JavascriptIndexPlugin extends RendererComponent {
kinds[reflection.kind] = GroupPlugin.getKindSingular(
reflection.kind
);
}

const kindBoost = kindBoosts[kinds[reflection.kind] ?? ""];
if (kindBoost != undefined) {
boost *= kindBoost;
}
const kindBoost = kindBoosts[kinds[reflection.kind] ?? ""];
if (kindBoost != undefined) {
boost *= kindBoost;
}

const row: any = {
Expand Down

0 comments on commit 2e7a34c

Please sign in to comment.