We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef57ea7 commit a8adb9bCopy full SHA for a8adb9b
crates/volta-core/src/run/parser.rs
@@ -11,6 +11,7 @@ use crate::inventory::package_configs;
11
use crate::platform::{Platform, PlatformSpec};
12
use crate::tool::package::PackageManager;
13
use crate::tool::Spec;
14
+use log::debug;
15
16
const UNSAFE_GLOBAL: &str = "VOLTA_UNSAFE_GLOBAL";
17
/// Aliases that npm supports for the 'install' command
@@ -397,6 +398,10 @@ where
397
398
}
399
});
400
401
+ if has_global && has_prefix {
402
+ debug!("Skipping global interception due to prefix argument");
403
+ }
404
+
405
has_global && !has_prefix
406
407
0 commit comments