Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions crytic_compile/crytic_compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,10 @@ def _init_platform(self, target: str, **kwargs: str) -> AbstractPlatform:
(p(target) for p in platforms if p.NAME.lower() == compile_force_framework.lower()),
None,
)
if not platform:
raise ValueError(
f"The framework specified {compile_force_framework} does not exist"
)

if not platform:
matching_platforms = [p for p in platforms if p.is_supported(target, **kwargs)]
Expand Down