From 34921d08667881b3723454c25367a0a4880455f9 Mon Sep 17 00:00:00 2001 From: Vladislav Mamon Date: Thu, 9 Mar 2023 22:43:30 +0300 Subject: [PATCH] fix: fix overriding package manager from cli --- src/cli.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cli.rs b/src/cli.rs index 40d16cf..bc9a701 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -64,9 +64,9 @@ impl Cli { let matches = &self.matches; let pm_matrix = ( - matches.contains_id("npm"), - matches.contains_id("pnpm"), - matches.contains_id("yarn"), + matches.get_flag("npm"), + matches.get_flag("pnpm"), + matches.get_flag("yarn"), ); let pm_from_env = env::var_os("SX_PM").map_or(PackageManager::Npm, |value| {