SIGN IN SIGN UP

Breakthrough Method for Agile Ai Driven Development

0 0 28 JavaScript

fix: use full update path when --custom-source is passed with --yes (#2336)

* fix: use full update path when --custom-source is passed with --yes

When --yes is used on an existing install, the installer auto-selects
quick-update. However, quick-update never re-clones custom module repos
— it only reads whatever is already in the cache. This means
--custom-source with a new version tag (e.g. @1.1.0) is silently
ignored and the previously cached version (e.g. 1.0.1) is reported as
"already up to date".

Default to the full update path when --custom-source is present, so the
custom repo gets re-cloned at the requested version. Also ensure all
installed modules are included in the selection when --yes is combined
with --custom-source, preventing previously installed modules from being
removed.

* fix: address review feedback on choices.find() and comment clarity

* style: prettier fix for empty-body methods in custom-module-manager

---------

Co-authored-by: Brian <bmadcode@gmail.com>
J
Jérôme Revillard committed
3e89b30b3cdd3b2b30a8e6e5d2a2309a9d95eaed
Parent: b4d73b7
Committed by GitHub <noreply@github.com> on 4/28/2026, 1:49:21 AM