From c58b0b70a60e90f6c0bce0b31b1bc44cdd2beaa6 Mon Sep 17 00:00:00 2001 From: jonsequitur Date: Wed, 22 Mar 2017 13:51:32 -0700 Subject: [PATCH] add null propagation --- src/dotnet/commands/dotnet-complete/ParseCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dotnet/commands/dotnet-complete/ParseCommand.cs b/src/dotnet/commands/dotnet-complete/ParseCommand.cs index fb86c6300..90972e119 100644 --- a/src/dotnet/commands/dotnet-complete/ParseCommand.cs +++ b/src/dotnet/commands/dotnet-complete/ParseCommand.cs @@ -31,7 +31,7 @@ namespace Microsoft.DotNet.Cli Console.WriteLine(); foreach (var error in result.Errors) { - Console.WriteLine($"[{error?.Option?.Name ?? "???"}] {error.Message}"); + Console.WriteLine($"[{error?.Option?.Name ?? "???"}] {error?.Message}"); } }