Skip to content

Commit

Permalink
mlonmcu/context/context.py: print assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippvK committed Aug 19, 2024
1 parent 76a98a8 commit 584019d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mlonmcu/context/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ def resolve_environment_file(name: str = None, path: str = None) -> Path:
env_file = lookup_environment()
if not env_file:
raise RuntimeError("Lookup for mlonmcu environment was not successful.")
assert env_file is not None, "Environment not found!"
return Path(env_file)


Expand Down

0 comments on commit 584019d

Please sign in to comment.