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
/// Warn user on dangerous package installations, interactive yes no prompt
167
-
#[allow(unused)]
168
-
pub(crate)fnprompt_user_to_continue(
169
-
packages:&IndexMap<PackageName,MatchSpec>,
170
-
) -> miette::Result<bool>{
171
-
let dangerous_packages = HashMap::from([
172
-
("pixi","Installing `pixi` globally doesn't work as expected.\nUse `pixi self-update` to update pixi and `pixi self-update --version x.y.z` for a specific version."),
173
-
("pip","Installing `pip` with `pixi global` won't make pip-installed packages globally available.\nInstead, use a pixi project and add PyPI packages with `pixi add --pypi`, which is recommended. Alternatively, `pixi add pip` and use it within the project.")
174
-
]);
175
-
176
-
// Check if any of the packages are dangerous, and prompt the user to ask if
0 commit comments