Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/erc7730/lint/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def get_descriptor_files() -> Generator[Path, None, None]:

files = list(get_descriptor_files())

if len(files) <= 1 or not (root_path := os.path.commonprefix(files)):
if len(files) <= 1 or not (root_path := os.path.commonpath(files)):
root_path = None

def label(f: Path) -> Path | None:
Expand Down

0 comments on commit 188515e

Please sign in to comment.