Skip to content

Commit

Permalink
More fixes: part 4
Browse files Browse the repository at this point in the history
  • Loading branch information
shatakshiiii committed Jun 15, 2024
1 parent a7ff127 commit 16439bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ansible_navigator/tm_tokenize/grammars.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __init__(self, *directories: str) -> None:
:param directories: A tuple of strings, each a directory in which grammar files can be found
"""
self._scope_to_files = {
Path(filename).stem: os.path.join(directory, filename)
Path(filename).stem: Path(directory) / filename
for directory in directories
if Path(directory).exists()
for filename in sorted(os.listdir(directory))
Expand Down

0 comments on commit 16439bd

Please sign in to comment.