From 8852211efb1c229ef95f6dbeae9114760bf0aaef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=AA=20Schneider?= <53726+renews@users.noreply.github.com> Date: Fri, 26 Sep 2025 17:19:31 -0300 Subject: [PATCH] The `--no-lock` option from the brew bundle install command is no longer supported and was being silintly failing with Error: invalid option: --no-lock --- CONTRIBUTORS.md | 1 + shallow_backup/constants.py | 2 +- shallow_backup/reinstall.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 5b355e47..ed8c96f1 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -6,3 +6,4 @@ - [Peter Yasi](https://github.com/pyasi) - [Nicole Tibay](https://github.com/neequole) - [Rods](https://github.com/rods-honorio) +- [RenĂª Schneider](https://github.com/renews) diff --git a/shallow_backup/constants.py b/shallow_backup/constants.py index e968bb53..851681a6 100644 --- a/shallow_backup/constants.py +++ b/shallow_backup/constants.py @@ -1,6 +1,6 @@ class ProjInfo: PROJECT_NAME = "shallow-backup" - VERSION = "6.4" + VERSION = "6.5" AUTHOR_GITHUB = "alichtman" AUTHOR_FULL_NAME = "Aaron Lichtman" DESCRIPTION = ( diff --git a/shallow_backup/reinstall.py b/shallow_backup/reinstall.py index c1f48561..0fee7674 100644 --- a/shallow_backup/reinstall.py +++ b/shallow_backup/reinstall.py @@ -187,7 +187,7 @@ def run_cmd_if_no_dry_run(command, dry_run) -> int: for pm in package_mgrs: if pm == "brew": print_pkg_mgr_reinstall(pm) - cmd = f"brew bundle install --no-lock --file {packages_path}/brew_list.txt" + cmd = f"brew bundle install --file {packages_path}/brew_list.txt" run_cmd_if_no_dry_run(cmd, dry_run) elif pm == "npm": print_pkg_mgr_reinstall(pm)