Skip to content

Commit

Permalink
fix(category): replace return with continue
Browse files Browse the repository at this point in the history
  • Loading branch information
brunozoric authored and Gerrit0 committed Jan 16, 2021
1 parent ad6b18f commit c01883b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/converter/plugins/CategoryPlugin.ts
Expand Up @@ -161,7 +161,7 @@ export class CategoryPlugin extends ConverterComponent {
let category = categories.find((cat) => cat.title === childCat);
if (category) {
category.children.push(child);
return;
continue;
}
category = new ReflectionCategory(childCat);
category.children.push(child);
Expand Down

0 comments on commit c01883b

Please sign in to comment.