diff options
Diffstat (limited to 'cli/npm/resolvers/mod.rs')
-rw-r--r-- | cli/npm/resolvers/mod.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cli/npm/resolvers/mod.rs b/cli/npm/resolvers/mod.rs index 4307f2b2e..9ea14061e 100644 --- a/cli/npm/resolvers/mod.rs +++ b/cli/npm/resolvers/mod.rs @@ -256,14 +256,13 @@ impl NpmPackageResolver { .iter() .collect::<HashSet<_>>() // prevent duplicates .iter() - .map(|p| format!("\"{}\"", p)) + .map(|p| format!("\"{p}\"")) .collect::<Vec<_>>() .join(", "); return Err(custom_error( "NoNpm", format!( - "Following npm specifiers were requested: {}; but --no-npm is specified.", - fmt_reqs + "Following npm specifiers were requested: {fmt_reqs}; but --no-npm is specified." ), )); } |