From 0802fd44ed11283f15900d2993fc495acf1bed01 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 9 May 2026 14:44:26 +0900 Subject: refactor(commands): consolidate get_platform_requirement_filter into shared module Removes the per-command duplicate implementations of get_platform_requirement_filter from dump_autoload and reinstall, and lifts a single canonical version into commands.rs. --- crates/mozart/src/commands/bump.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/mozart/src/commands/bump.rs') diff --git a/crates/mozart/src/commands/bump.rs b/crates/mozart/src/commands/bump.rs index 6c53784..1ed4c54 100644 --- a/crates/mozart/src/commands/bump.rs +++ b/crates/mozart/src/commands/bump.rs @@ -327,7 +327,7 @@ fn build_locked_versions_from_local( repo: &LocalRepository, ) -> IndexMap)> { let mut map: IndexMap)> = IndexMap::new(); - for pkg in repo.canonical_packages() { + for pkg in repo.get_canonical_packages() { map.insert( pkg.pretty_name().to_lowercase(), (pkg.pretty_version().to_string(), None), -- cgit v1.3.1