diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-01-27 10:43:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-27 10:43:16 -0500 |
commit | f5840bdcd360ec0bac2501f333e58e25742b1537 (patch) | |
tree | 7eb0818d2cafa0f6824e81b6ed2cfb609830971e /cli/npm/cache.rs | |
parent | 1a1faff2f67613ed0b89e1a34e6c3fd02ca6fd83 (diff) |
chore: upgrade to Rust 1.67 (#17548)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/npm/cache.rs')
-rw-r--r-- | cli/npm/cache.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/npm/cache.rs b/cli/npm/cache.rs index 6a6c6156c..0d07d27b2 100644 --- a/cli/npm/cache.rs +++ b/cli/npm/cache.rs @@ -216,7 +216,7 @@ impl ReadonlyNpmCache { let encoded_name = mixed_case_package_name_encode(name); // Using the encoded directory may have a collision with an actual package name // so prefix it with an underscore since npm packages can't start with that - dir.join(format!("_{}", encoded_name)) + dir.join(format!("_{encoded_name}")) } else { // ensure backslashes are used on windows for part in name.split('/') { |