Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Sep 24, 2024
1 parent 46bf47a commit 071e1eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions denops/ddu/ddu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ export class Ddu {

await Promise.all(allItems.map(async (item: DduItem): Promise<void> => {
if (searchPath) {
if (searchPath === item.treePath ?? item.word) {
if (searchPath === (item.treePath ?? item.word)) {
searchTargetItem = item;
}
if (
Expand Down Expand Up @@ -1378,7 +1378,7 @@ export class Ddu {
)
) {
searchedItem = children.find((item) =>
search === item.treePath ?? item.word
search === (item.treePath ?? item.word)
);
}

Expand Down

0 comments on commit 071e1eb

Please sign in to comment.