Skip to content

Commit

Permalink
fix handling of "workingDirectories" setting with "directory" key (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl authored Dec 14, 2022
1 parent b56f73f commit 6f16a8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'):
Expand Down

0 comments on commit 6f16a8b

Please sign in to comment.