Use the path variable, not the type
This commit is contained in:
parent
a26107f8ad
commit
fd2c477173
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ import yaml
|
|||
|
||||
|
||||
def is_jekyll_root(path: Path):
|
||||
return (Path / "_config.yml").exists()
|
||||
return (path / "_config.yml").exists()
|
||||
|
||||
|
||||
def hash_file(filename: Path) -> str:
|
||||
|
|
Loading…
Add table
Reference in a new issue