We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b912616 commit 18800daCopy full SHA for 18800da
mergin/merginproject.py
@@ -42,6 +42,8 @@ class MerginProject:
42
"""
43
44
def __init__(self, directory):
45
+ if not isinstance(directory, str):
46
+ raise ClientError("'directory' must be a str")
47
self.dir = os.path.abspath(directory)
48
if not os.path.exists(self.dir):
49
raise InvalidProject("Project directory does not exist")
0 commit comments