Skip to content

Commit

Permalink
fix #16: replace improper concat() usage with push()
Browse files Browse the repository at this point in the history
  • Loading branch information
gfxholo committed Jul 4, 2024
1 parent bfa9d67 commit de59c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IconicPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ export default class IconicPlugin extends Plugin {
for (const bmarkBase of bmarkBases) {
if (bmarkBase.type === 'group' && bmarkBase.items) {
flatArray.push(bmarkBase.ctime.toString());
flatArray.concat(flattenGroupIds(bmarkBase.items));
flatArray.push(...flattenGroupIds(bmarkBase.items));
}
}
return flatArray;
Expand Down

0 comments on commit de59c3b

Please sign in to comment.