mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
removed dangling variable and cleaned up space
This commit is contained in:
1 parent
80f879e33f
commit
ef1a397dfc
1 file changed
+2
-4
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user