Skip to content

Commit 809b58d

Browse files
committed
Copilot Feedback
1 parent 118c896 commit 809b58d

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/Aspire.Hosting/ApplicationModel/RequiredCommandValidator.cs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,9 @@ private sealed class CommandValidationState : IDisposable
183183
/// <summary>
184184
/// Cache key for command validation state.
185185
/// </summary>
186-
private readonly record struct CommandValidationCacheKey(string command, Func<RequiredCommandValidationContext, Task<RequiredCommandValidationResult>>? callback)
187-
{
188-
public string Command { get; } = command;
189-
190-
public Func<RequiredCommandValidationContext, Task<RequiredCommandValidationResult>>? Callback { get; } = callback;
191-
}
186+
private readonly record struct CommandValidationCacheKey(
187+
string Command,
188+
Func<RequiredCommandValidationContext, Task<RequiredCommandValidationResult>>? Callback);
192189

193190
/// <summary>
194191
/// Attempts to resolve a command (file name or path) to a full path.

0 commit comments

Comments
 (0)