Skip to content

Commit 703ec00

Browse files
lambdalisueclaude
andcommitted
fix: format code with deno fmt
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 2a6b0f6 commit 703ec00

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

builtin/refiner/buffer_info.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export function bufferInfo(
9191
for await (const item of items) {
9292
itemsArray.push(item);
9393
}
94-
94+
9595
// Get all buffer info at once for efficiency
9696
const allBufinfo = await fn.getbufinfo(denops);
9797
const bufInfoMap = new Map(
@@ -187,7 +187,9 @@ export function bufferInfo(
187187
);
188188

189189
// Return only non-null items
190-
const filtered = results.filter((item): item is IdItem<Detail> => item !== null);
190+
const filtered = results.filter((item): item is IdItem<Detail> =>
191+
item !== null
192+
);
191193
yield* filtered;
192194
});
193195
}

builtin/refiner/file_info.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,16 @@ export function fileInfo(
9292
for await (const item of items) {
9393
itemsArray.push(item);
9494
}
95-
95+
9696
// Process items in parallel and filter
9797
const results = await Promise.all(
9898
itemsArray.map(async (item) => {
9999
const { path } = item.detail;
100100

101101
// Check if hidden file should be excluded
102102
if (
103-
excludeHidden && path.split("/").some((part: string) => part.startsWith("."))
103+
excludeHidden &&
104+
path.split("/").some((part: string) => part.startsWith("."))
104105
) {
105106
return null;
106107
}
@@ -180,7 +181,9 @@ export function fileInfo(
180181
);
181182

182183
// Return only non-null items
183-
const filtered = results.filter((item): item is IdItem<Detail> => item !== null);
184+
const filtered = results.filter((item): item is IdItem<Detail> =>
185+
item !== null
186+
);
184187
yield* filtered;
185188
});
186189
}

0 commit comments

Comments
 (0)