pub fn resolve_package_manager(
env_value: Option<&str>,
root: &Path,
) -> PackageManagerExpand description
Resolve the package manager: an explicit PKG_MANAGER env value wins
(action parity; unrecognized values fall back to npm exactly like the jq
else branch), otherwise lockfile sniffing at the analysis root.