nodes: remove redundent _imply_path call
The Node ctor will take care of the check.
This commit is contained in:
parent
853b0a4c29
commit
6be3f31dba
|
@ -634,7 +634,6 @@ class FSCollector(Collector):
|
||||||
**kw,
|
**kw,
|
||||||
):
|
):
|
||||||
"""The public constructor."""
|
"""The public constructor."""
|
||||||
path, fspath = _imply_path(path, fspath=fspath)
|
|
||||||
return super().from_parent(parent=parent, fspath=fspath, path=path, **kw)
|
return super().from_parent(parent=parent, fspath=fspath, path=path, **kw)
|
||||||
|
|
||||||
def gethookproxy(self, fspath: "os.PathLike[str]"):
|
def gethookproxy(self, fspath: "os.PathLike[str]"):
|
||||||
|
|
Loading…
Reference in New Issue