Skip to content

Commit 3f28547

Browse files
authored
fix: KeyError of 'cwd' when running pytest formatting (#166)
1 parent 1a79b08 commit 3f28547

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bundled/tool/lsp_server.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ def _update_workspace_settings(settings):
313313
for setting in settings:
314314
key = uris.to_fs_path(setting["workspace"])
315315
WORKSPACE_SETTINGS[key] = {
316+
"cwd": key,
316317
**setting,
317318
"workspaceFS": key,
318319
}

0 commit comments

Comments
 (0)