Skip to content

Commit 398b857

Browse files
fix: loosen package install restrictions
1 parent ebf8c83 commit 398b857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

brownie/project/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ def _install_from_github(package_id: str) -> str:
855855
elif len(contract_paths) == 1:
856856
brownie_config["project_structure"]["contracts"] = contract_paths.pop()
857857
else:
858-
raise InvalidPackage(
858+
raise Exception(
859859
f"{package_id} has no `contracts/` subdirectory, and "
860860
"multiple directories containing source files"
861861
)

0 commit comments

Comments
 (0)