Fix merge
This commit is contained in:
parent
2031c9cf33
commit
9a31be84d6
1 changed files with 5 additions and 1 deletions
|
@ -169,7 +169,11 @@ namespace Microsoft.DotNet.Cli
|
|||
int exitCode;
|
||||
if (BuiltInCommandsCatalog.Commands.TryGetValue(topLevelCommandParserResult.Command, out var builtIn))
|
||||
{
|
||||
TelemetryEventEntry.SendFiltered(Parser.Instance.ParseFrom($"dotnet {topLevelCommandParserResult.Command}", appArgs.ToArray()));
|
||||
var parseResult = Parser.Instance.ParseFrom($"dotnet {topLevelCommandParserResult.Command}", appArgs.ToArray());
|
||||
if (!parseResult.Errors.Any())
|
||||
{
|
||||
TelemetryEventEntry.SendFiltered(parseResult);
|
||||
}
|
||||
|
||||
exitCode = builtIn.Command(appArgs.ToArray());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue