From 94bc781df730b2219c1af081e2e4539f833840d5 Mon Sep 17 00:00:00 2001 From: jonsequitur Date: Wed, 22 Mar 2017 13:51:45 -0700 Subject: [PATCH] remove debug file output --- src/dotnet/commands/dotnet-complete/CompleteCommand.cs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/dotnet/commands/dotnet-complete/CompleteCommand.cs b/src/dotnet/commands/dotnet-complete/CompleteCommand.cs index a8375687a..d188171ac 100644 --- a/src/dotnet/commands/dotnet-complete/CompleteCommand.cs +++ b/src/dotnet/commands/dotnet-complete/CompleteCommand.cs @@ -2,9 +2,7 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; -using System.IO; using System.Linq; -using System.Text; using Microsoft.DotNet.Cli.CommandLine; using Microsoft.DotNet.Cli.Utils; @@ -28,11 +26,6 @@ namespace Microsoft.DotNet.Cli var suggestions = Suggestions(complete); - var log = new StringBuilder(); - log.AppendLine($"args: {string.Join(" ", args.Select(a => $"\"{a}\""))}"); - log.AppendLine("diagram: " + result.Diagram()); - File.WriteAllText("parse.log", log.ToString()); - foreach (var suggestion in suggestions) { Console.WriteLine(suggestion); @@ -40,8 +33,7 @@ namespace Microsoft.DotNet.Cli } catch (Exception e) { - File.WriteAllText("dotnet completion exception.log", e.ToString()); - throw; + return 1; } return 0;