Skip to content

Commit c14ed4c

Browse files
committed
Merge branch 'dont-mutate-command-more-than-once-on-implicit-invoke' of https://github.com/jonsequitur/command-line-api into dont-mutate-command-more-than-once-on-implicit-invoke
2 parents 7d0b72d + 9a3eeb1 commit c14ed4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/System.CommandLine/CommandExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static Task<int> InvokeAsync(
4242

4343
private static InvocationPipeline GetInvocationPipeline(Command command, string[] args)
4444
{
45-
var parser = command.ImplicitParser ??=
45+
var parser = command.ImplicitParser ??
4646
new CommandLineBuilder(command)
4747
.UseDefaults()
4848
.Build();
@@ -63,4 +63,4 @@ public static ParseResult Parse(
6363
IReadOnlyCollection<char> delimiters = null) =>
6464
new Parser(command).Parse(commandLine);
6565
}
66-
}
66+
}

0 commit comments

Comments
 (0)