Skip to content

Commit 5c9e724

Browse files
stephentoubCopilot
andcommitted
Address path composition review feedback
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 635371a commit 5c9e724

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

dotnet/test/E2E/RpcExtensionsLoadedE2ETests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,10 @@ public async Task Failed_Extension_Reports_Failed_Status()
269269
// The bootstrap will fork the child, the import will throw, the child
270270
// exits with code 1, and the runtime should mark it as "failed".
271271
var extName = $"crashing-ext-{Guid.NewGuid():N}";
272-
var extDir = Path.Combine(Ctx.HomeDir, "extensions", extName);
272+
var extDir = Path.Join(Ctx.HomeDir, "extensions", extName);
273273
Directory.CreateDirectory(extDir);
274274
File.WriteAllText(
275-
Path.Combine(extDir, "extension.mjs"),
275+
Path.Join(extDir, "extension.mjs"),
276276
"throw new Error('intentional startup failure');");
277277

278278
var extId = $"user:{extName}";

dotnet/test/E2E/SessionMcpAndAgentConfigE2ETests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ await File.WriteAllTextAsync(
324324
Command = "node",
325325
Args =
326326
[
327-
Path.Combine(testHarnessDir, "test-mcp-elicitation-server.mjs"),
327+
Path.Join(testHarnessDir, "test-mcp-elicitation-server.mjs"),
328328
"--config",
329329
configPath
330330
],

0 commit comments

Comments
 (0)