Skip to content

Commit

Permalink
using resolved path
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Apr 17, 2023
1 parent a2988ec commit e008311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repogen/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def schemas_dir() -> Path:
return Path('content/schemas').resolve()


assert Path(__file__, '../content/schemas').samefile(schemas_dir())
assert Path(__file__, '../../content/schemas').resolve().samefile(schemas_dir())


def for_schema(rel_path: str) -> Validator:
Expand Down

0 comments on commit e008311

Please sign in to comment.