aboutsummaryrefslogtreecommitdiff
path: root/xtask
diff options
context:
space:
mode:
Diffstat (limited to 'xtask')
-rw-r--r--xtask/src/dist.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/xtask/src/dist.rs b/xtask/src/dist.rs
index cdd3db21c..737751ae8 100644
--- a/xtask/src/dist.rs
+++ b/xtask/src/dist.rs
@@ -30,12 +30,12 @@ fn dist_client(nightly: bool) -> Result<()> {
30 let mut package_json = original_package_json.replace(r#""enableProposedApi": true,"#, r#""#); 30 let mut package_json = original_package_json.replace(r#""enableProposedApi": true,"#, r#""#);
31 31
32 if nightly { 32 if nightly {
33 package_json = package_json 33 package_json = package_json.replace(
34 .replace(r#""name": "rust-analyzer""#, r#""name": "rust-analyzer-nightly""#) 34 r#""displayName": "rust-analyzer""#,
35 .replace( 35 r#""displayName": "rust-analyzer nightly""#,
36 r#""displayName": "rust-analyzer""#, 36 );
37 r#""displayName": "rust-analyzer nightly""#, 37 } else {
38 ); 38 package_json = original_package_json.replace(r#""enableProposedApi": true,"#, r#""#);
39 } 39 }
40 fs2::write(package_json_path, package_json)?; 40 fs2::write(package_json_path, package_json)?;
41 41