Skip to content

Commit 725754b

Browse files
committed
fix
1 parent d708441 commit 725754b

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

packages/mcp/src/server.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -174,13 +174,11 @@ const createHttpServer = (port: number): Server => {
174174
return;
175175
}
176176

177-
response
178-
.writeHead(400, { "Content-Type": "application/json" })
179-
.end(
180-
JSON.stringify({
181-
error: "No valid session. Send an initialize request first.",
182-
}),
183-
);
177+
response.writeHead(400, { "Content-Type": "application/json" }).end(
178+
JSON.stringify({
179+
error: "No valid session. Send an initialize request first.",
180+
}),
181+
);
184182
return;
185183
}
186184

packages/react-grab/src/utils/copy-content.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ interface LexicalNode {
3232
const generateUuid = (): string =>
3333
"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (character) => {
3434
const randomNibble = (Math.random() * 16) | 0;
35-
const hexValue = character === "x" ? randomNibble : (randomNibble & 0x3) | 0x8;
35+
const hexValue =
36+
character === "x" ? randomNibble : (randomNibble & 0x3) | 0x8;
3637
return hexValue.toString(16);
3738
});
3839

0 commit comments

Comments
 (0)