diff options
author | 林炳权 <695601626@qq.com> | 2024-10-16 00:10:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-15 21:40:07 +0530 |
commit | 533a9b108677f1560fe55882771a0be2bb0b0fd2 (patch) | |
tree | 39f8d1e734f40a4cdafb0e6b582ceeea26d491ea /cli/npm | |
parent | e4b52f5a7684cfb6754f2531e51f833a64d97d7b (diff) |
chore: upgrade to rust 1.81.0 (#26261)
Diffstat (limited to 'cli/npm')
-rw-r--r-- | cli/npm/common.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/npm/common.rs b/cli/npm/common.rs index a3a828e74..de282310a 100644 --- a/cli/npm/common.rs +++ b/cli/npm/common.rs @@ -40,7 +40,7 @@ pub fn maybe_auth_header_for_npm_registry( header::AUTHORIZATION, header::HeaderValue::from_str(&format!( "Basic {}", - BASE64_STANDARD.encode(&format!( + BASE64_STANDARD.encode(format!( "{}:{}", username.unwrap(), password.unwrap() |