meta: ensure we have an absolute path for Index
Ensure that we always have an absolute path so that all paths in `ModuleInfo` and `RunnerInfo` are absolute as well.
This commit is contained in:
parent
e923f559ab
commit
7a8b3d3c6f
1 changed files with 1 additions and 1 deletions
|
|
@ -534,7 +534,7 @@ class Index:
|
|||
"""
|
||||
|
||||
def __init__(self, path: str):
|
||||
self.path = path
|
||||
self.path = os.path.abspath(path)
|
||||
self._module_info: Dict[Tuple[str, Any], Any] = {}
|
||||
self._format_info: Dict[Tuple[str, Any], Any] = {}
|
||||
self._schemata: Dict[Tuple[str, Any, str], Schema] = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue