Skip to content

Commit 73d7b6d

Browse files
committed
Simplify command construction
1 parent 063b782 commit 73d7b6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PowerShellEditorServices/Session/PowerShellContext.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ public async Task ExecuteScriptWithArgs(string script, string arguments = null,
802802
}
803803

804804
reportedScript += " " + arguments;
805-
escapedScriptPath = escapedScriptPath + " " + arguments;
805+
escapedScriptPath += " " + arguments;
806806
command.AddScript(escapedScriptPath, false);
807807
}
808808
else

0 commit comments

Comments
 (0)