diff options
Diffstat (limited to 'cli/npm/managed/resolvers/local.rs')
-rw-r--r-- | cli/npm/managed/resolvers/local.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/npm/managed/resolvers/local.rs b/cli/npm/managed/resolvers/local.rs index b741fd15d..7687e23f8 100644 --- a/cli/npm/managed/resolvers/local.rs +++ b/cli/npm/managed/resolvers/local.rs @@ -1048,7 +1048,7 @@ fn junction_or_symlink_dir( match junction::create(old_path, new_path) { Ok(()) => Ok(()), Err(junction_err) => { - if cfg!(debug) { + if cfg!(debug_assertions) { // When running the tests, junctions should be created, but if not then // surface this error. log::warn!("Error creating junction. {:#}", junction_err); |