Skip to content

Commit

Permalink
fix: loosen package install restrictions
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdefinitelyahuman committed Feb 24, 2024
1 parent ebf8c83 commit 398b857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brownie/project/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ def _install_from_github(package_id: str) -> str:
elif len(contract_paths) == 1:
brownie_config["project_structure"]["contracts"] = contract_paths.pop()
else:
raise InvalidPackage(
raise Exception(
f"{package_id} has no `contracts/` subdirectory, and "
"multiple directories containing source files"
)
Expand Down

0 comments on commit 398b857

Please sign in to comment.