Skip to content

Commit 2189ba0

Browse files
committed
style: format multi-project routing files
1 parent 75d7a86 commit 2189ba0

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

src/index.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -625,10 +625,7 @@ async function performIndexingOnce(
625625
}
626626
}
627627

628-
async function performIndexing(
629-
project: ProjectState,
630-
incrementalOnly?: boolean
631-
): Promise<void> {
628+
async function performIndexing(project: ProjectState, incrementalOnly?: boolean): Promise<void> {
632629
let nextMode = incrementalOnly;
633630
for (;;) {
634631
await performIndexingOnce(project, nextMode);
@@ -771,10 +768,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
771768
};
772769
}
773770
indexSignal = await ensureValidIndexOrAutoHeal(project);
774-
if (
775-
indexSignal.action === 'rebuild-started' ||
776-
indexSignal.action === 'rebuild-failed'
777-
) {
771+
if (indexSignal.action === 'rebuild-started' || indexSignal.action === 'rebuild-failed') {
778772
return {
779773
content: [
780774
{

src/tools/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ function withProjectDirectory(definition: Tool): Tool {
4444
};
4545
}
4646

47-
export const TOOLS: Tool[] = [d1, d2, d3, d4, d5, d6, d7, d8, d9, d10].map(
48-
withProjectDirectory
49-
);
47+
export const TOOLS: Tool[] = [d1, d2, d3, d4, d5, d6, d7, d8, d9, d10].map(withProjectDirectory);
5048

5149
export async function dispatchTool(
5250
name: string,

0 commit comments

Comments
 (0)