Skip to content

Commit

Permalink
corrected error message (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bee-Mar authored Oct 30, 2024
1 parent abf1479 commit 85abb2f
Show file tree
Hide file tree
Showing 5 changed files with 399 additions and 297 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,3 +339,8 @@

- updated urls from PR
- Simple cleanup

## Version 4.1.4

- corrected typo in `mmpm/magicmirror/magicmirror.py` instructing user to use outdated `mmpm log`
command; now directing them to use `mmpm logs`
2 changes: 1 addition & 1 deletion mmpm/__version__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
major = 4
minor = 1
patch = 3
patch = 4

version = f"{major}.{minor}.{patch}"
4 changes: 2 additions & 2 deletions mmpm/magicmirror/magicmirror.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ def upgrade(self):

if error_code:
message = "Failed to checkout MagicMirror repo for clean upgrade"
logger.error(f"{message}. See `mmpm log` for details")
logger.error(f"{message}. See `mmpm logs` for details")
return stderr

error_code, _, stderr = run_cmd(["git", "pull"], progress=False)

if error_code:
message = "Failed to upgrade MagicMirror"
logger.error(f"{message}. See `mmpm log` for details")
logger.error(f"{message}. See `mmpm logs` for details")
return stderr

error_code, _, stderr = run_cmd(["npm", "install"], progress=True)
Expand Down
Loading

0 comments on commit 85abb2f

Please sign in to comment.