Skip to content

Commit

Permalink
Logger initialization for wheel files.
Browse files Browse the repository at this point in the history
  • Loading branch information
sundarshankar89 committed Feb 12, 2024
1 parent 28d91ce commit 540d3a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/databricks/labs/blueprint/entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def find_project_root(__file: str) -> Path:
return root
# Wheel installation is under site-packages hence return the parent of site-packages
if "site-packages" in __file:
return Path(__file.split("site-packages")[0] + "site-packages/").parent
return Path(__file.split("site-packages")[0] + "site-packages/")

Check warning on line 51 in src/databricks/labs/blueprint/entrypoint.py

View check run for this annotation

Codecov / codecov/patch

src/databricks/labs/blueprint/entrypoint.py#L51

Added line #L51 was not covered by tests

msg = "Cannot find project root"
raise NotADirectoryError(msg)
Expand Down

0 comments on commit 540d3a0

Please sign in to comment.