Skip to content

Commit

Permalink
fix: github path bug (regression in 0.10.1) (#160)
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii authored Nov 17, 2023
1 parent 5cbd745 commit 08291f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@
header={true}
deps={[
"sp-repo-review==2023.11.17",
"repo-review==0.10.1",
"validate-pyproject==0.15",
"scikit-build-core==0.6.1",
"repo-review~=0.10.0",
"validate-pyproject~=0.15.0",
"scikit-build-core~=0.6.0",
]}
/>,
);
Expand Down
1 change: 1 addition & 0 deletions src/repo_review/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ def on_each(
if isinstance(package, GHPath):
if format_opt == "rich":
rich.print(f"[bold]Processing [blue]{package}[/blue] from GitHub\n")
base_package = package
header = package.repo
elif package.name == "pyproject.toml" and package.is_file():
# Special case for passing a path to a pyproject.toml
Expand Down

0 comments on commit 08291f2

Please sign in to comment.