Skip to content

Commit 2a282b1

Browse files
rkeithhillrjmholt
authored andcommitted
Add spaces between parameters when starting PSES (#1554)
The current code works because the previous arg is quoted. For example, this is legal: Foo -Version '1.2.3.4'-NextParameter But this is not good form, so adding spaces between params.
1 parent 78f2bb3 commit 2a282b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/session.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,9 @@ export class SessionManager implements Middleware {
169169
this.editorServicesArgs =
170170
`-HostName 'Visual Studio Code Host' ` +
171171
`-HostProfileId 'Microsoft.VSCode' ` +
172-
`-HostVersion '${this.hostVersion}'` +
172+
`-HostVersion '${this.hostVersion}' ` +
173173
`-AdditionalModules @('PowerShellEditorServices.VSCode') ` +
174-
`-BundledModulesPath '${PowerShellProcess.escapeSingleQuotes(this.bundledModulesPath)}'` +
174+
`-BundledModulesPath '${PowerShellProcess.escapeSingleQuotes(this.bundledModulesPath)}' ` +
175175
`-EnableConsoleRepl `;
176176

177177
if (this.sessionSettings.developer.editorServicesWaitForDebugger) {

0 commit comments

Comments
 (0)