From 6f16a8b1091011765cbc017ec672c29d7aa8989f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Ch=C5=82odnicki?= Date: Wed, 14 Dec 2022 21:59:27 +0100 Subject: [PATCH] fix handling of "workingDirectories" setting with "directory" key (#59) --- plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.py b/plugin.py index 01284d1..447f6e9 100644 --- a/plugin.py +++ b/plugin.py @@ -100,7 +100,7 @@ def resolve_working_directory(self, configuration: Dict, scope_uri: str, if isinstance(entry, str): directory = entry elif self.is_working_directory_item(entry, 'directory'): - directory = entry.directory + directory = entry['directory'] if isinstance(entry.get('!cwd', None), bool): no_cwd = entry['!cwd'] elif self.is_working_directory_item(entry, 'pattern'):