You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(install): only cleanup semver-format version directories
The cleanup_old_versions function was deleting non-semver directories
like 'local-dev' when they had the oldest birth time and there were 5+
other versions. This caused intermittent failures in bootstrap-cli when
the binary was deleted between install and setup_node_manager.
Fix: Only consider directories matching semver format (X.Y.Z or
X.Y.Z-prerelease) for cleanup, naturally preserving 'current' symlink
and development directories like 'local-dev'.
0 commit comments