diff options
author | Satya Rohith <me@satyarohith.com> | 2024-07-29 22:28:04 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-29 12:58:04 -0400 |
commit | 8c2f1f5a55a2a9bb9e04c12236faa341b3fd49b6 (patch) | |
tree | f32705f9ab92d0f3f8c839f1cb00918fcd32cd05 /cli/npm/managed/resolvers/local.rs | |
parent | 8bab761bccf976ac568b0b3f4decfd7e77747767 (diff) |
chore: upgrade to rust 1.80 (#24778)
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); |