From 8c2f1f5a55a2a9bb9e04c12236faa341b3fd49b6 Mon Sep 17 00:00:00 2001 From: Satya Rohith Date: Mon, 29 Jul 2024 22:28:04 +0530 Subject: chore: upgrade to rust 1.80 (#24778) --- cli/npm/managed/resolvers/local.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/npm') 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); -- cgit v1.2.3