From 8a1ad0199a0eb9df19071a940b03982df9b62a57 Mon Sep 17 00:00:00 2001 From: Jacob Alber Date: Thu, 7 May 2026 16:44:17 +0000 Subject: [PATCH] fix: whitespace formatting --- .../AgentProviders/Agent_With_GitHubCopilot/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotnet/samples/02-agents/AgentProviders/Agent_With_GitHubCopilot/Program.cs b/dotnet/samples/02-agents/AgentProviders/Agent_With_GitHubCopilot/Program.cs index bfdbaf4c87..149cbbe029 100644 --- a/dotnet/samples/02-agents/AgentProviders/Agent_With_GitHubCopilot/Program.cs +++ b/dotnet/samples/02-agents/AgentProviders/Agent_With_GitHubCopilot/Program.cs @@ -12,8 +12,8 @@ static Task PromptPermission(PermissionRequest request, Console.Write("Approve? (y/n): "); string? input = Console.ReadLine()?.Trim().ToUpperInvariant(); - PermissionRequestResultKind kind = input is "Y" or "YES" - ? PermissionRequestResultKind.Approved + PermissionRequestResultKind kind = input is "Y" or "YES" + ? PermissionRequestResultKind.Approved : PermissionRequestResultKind.Rejected; return Task.FromResult(new PermissionRequestResult { Kind = kind });