From ef1a397dfce6340684fe7d2f923d9ee772b7dbbc Mon Sep 17 00:00:00 2001 From: Zachary Folwick Date: Tue, 20 Oct 2015 06:00:36 -0700 Subject: [PATCH] removed dangling variable and cleaned up space --- src/powershell-run/main.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/powershell-run/main.cs b/src/powershell-run/main.cs index f530643dac..6f12daaa36 100644 --- a/src/powershell-run/main.cs +++ b/src/powershell-run/main.cs @@ -161,13 +161,11 @@ namespace Microsoft.Samples.PowerShell.Host executeHelper(initialScript,null); } - private string _prompt; - /// Sets the prompt equal to the output of the prompt function public string Prompt(Runspace rs) { - string returnVal = string.Empty; - Pipeline pipeline = rs.CreatePipeline(); + string returnVal = string.Empty; + Pipeline pipeline = rs.CreatePipeline(); Command promptCommand = new Command("prompt"); pipeline.Commands.Add(promptCommand);