Skip to content

Extension won't start with invalid (empty string) powershell.cwd #1849

Closed
@andyleejordan

Description

@andyleejordan

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Steps to reproduce

Per PowerShell/vscode-powershell#4059 (comment), setting and then unsetting the cwd setting will result in an empty string, which the client is fine with, but causes the server to fail to start.

Expected behavior

Server starts with any setting for `powershell.cwd`.

Actual behavior

Server hangs.

Error details

No response

Environment data

N/A

Version

v2022.6.3

Visuals

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions