summaryrefslogtreecommitdiff
path: root/cli/tools/registry/pm.rs
diff options
context:
space:
mode:
authorMiguel Rodrigues <64497525+mbrdg@users.noreply.github.com>2024-11-16 13:57:14 +0000
committerGitHub <noreply@github.com>2024-11-16 14:57:14 +0100
commit99d5c6e423fe67f7f062296ffd38b38f92b7ab70 (patch)
tree6027c9ed11227fb41f77479930001c6f49b246c4 /cli/tools/registry/pm.rs
parent84e12386480d76e97ad85d9c5314168e7ab03e04 (diff)
fix(cli): show prefix hint when installing a package globally (#26629)
Closes #26545 Shows a hint when a package is installed globally, otherwise fallbacks to the existing implementation.
Diffstat (limited to 'cli/tools/registry/pm.rs')
-rw-r--r--cli/tools/registry/pm.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/registry/pm.rs b/cli/tools/registry/pm.rs
index 68913e259..c1ea2c75e 100644
--- a/cli/tools/registry/pm.rs
+++ b/cli/tools/registry/pm.rs
@@ -679,7 +679,7 @@ enum AddRmPackageReqValue {
}
#[derive(Debug, PartialEq, Eq)]
-struct AddRmPackageReq {
+pub struct AddRmPackageReq {
alias: String,
value: AddRmPackageReqValue,
}