Skip to content

Commit 3e6a74b

Browse files
committed
fix: apply prettier formatting fixes
Auto-format files that had prettier violations from the base branch.
1 parent 5ef0ec6 commit 3e6a74b

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

packages/mcp-server/README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ You can specify the client you are using with the `--client` argument, and the M
118118
serve tools and schemas that are more compatible with that client.
119119

120120
- `--client=<type>`: Set all capabilities based on a known MCP client
121-
122121
- Valid values: `openai-agents`, `claude`, `claude-code`, `cursor`
123122
- Example: `--client=cursor`
124123

@@ -283,13 +282,11 @@ The following tools are available in this MCP server.
283282
- `retrieve_mail` (`read`): Retrieve a complete email thread (conversation) with all messages.
284283

285284
**What You Get:**
286-
287285
- Thread metadata (subject, participants, timestamps)
288286
- All messages in the thread (both inbound and outbound)
289287
- Messages sorted chronologically by thread position
290288

291289
**Message Types:**
292-
293290
- `inbound` - Emails you received
294291
- `outbound` - Emails you sent (includes delivery status)
295292

src/internal/detect-platform.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const getPlatformProperties = (): PlatformProperties => {
6767
'X-Stainless-Arch': normalizeArch(Deno.build.arch),
6868
'X-Stainless-Runtime': 'deno',
6969
'X-Stainless-Runtime-Version':
70-
typeof Deno.version === 'string' ? Deno.version : Deno.version?.deno ?? 'unknown',
70+
typeof Deno.version === 'string' ? Deno.version : (Deno.version?.deno ?? 'unknown'),
7171
};
7272
}
7373
if (typeof EdgeRuntime !== 'undefined') {

tests/index.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -524,8 +524,8 @@ describe('retries', () => {
524524
{ signal }: RequestInit = {},
525525
): Promise<Response> => {
526526
if (count++ === 0) {
527-
return new Promise(
528-
(resolve, reject) => signal?.addEventListener('abort', () => reject(new Error('timed out'))),
527+
return new Promise((resolve, reject) =>
528+
signal?.addEventListener('abort', () => reject(new Error('timed out'))),
529529
);
530530
}
531531
return new Response(JSON.stringify({ a: 1 }), { headers: { 'Content-Type': 'application/json' } });

tests/uploads.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ describe('toFile', () => {
6969
const result = await toFile(input);
7070
const file: File = result;
7171
const blob: Blob = result;
72-
void file, blob;
72+
(void file, blob);
7373
});
7474
});
7575

0 commit comments

Comments
 (0)