Skip to content

Commit

Permalink
Add error code get_frozen_cmd.py
Browse files Browse the repository at this point in the history
  • Loading branch information
samskiter authored Oct 31, 2023
1 parent 434d505 commit 04b0943
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/stubber/commands/get_frozen_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def cli_get_frozen(
if version:
result = fetch_repos(version, CONFIG.mpy_path, CONFIG.mpy_lib_path)
if not result:
log.error("Failed to fetch repos for version: {} for micropython folder: {} and micropython-lib folder: {}".format(version, CONFIG.mpy_path.as_posix(), CONFIG.mpy_lib_path.as_posix()))
return -1
else:
version = utils.clean_version(git.get_local_tag(CONFIG.mpy_path.as_posix()) or "0.0")
Expand Down

0 comments on commit 04b0943

Please sign in to comment.