mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Merge #3465
3465: Don't disable proposed features for nightly r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
8c07ffcd76
1 changed files with 6 additions and 6 deletions
|
@ -30,12 +30,12 @@ fn dist_client(nightly: bool) -> Result<()> {
|
|||
let mut package_json = original_package_json.replace(r#""enableProposedApi": true,"#, r#""#);
|
||||
|
||||
if nightly {
|
||||
package_json = package_json
|
||||
.replace(r#""name": "rust-analyzer""#, r#""name": "rust-analyzer-nightly""#)
|
||||
.replace(
|
||||
r#""displayName": "rust-analyzer""#,
|
||||
r#""displayName": "rust-analyzer nightly""#,
|
||||
);
|
||||
package_json = package_json.replace(
|
||||
r#""displayName": "rust-analyzer""#,
|
||||
r#""displayName": "rust-analyzer nightly""#,
|
||||
);
|
||||
} else {
|
||||
package_json = original_package_json.replace(r#""enableProposedApi": true,"#, r#""#);
|
||||
}
|
||||
fs2::write(package_json_path, package_json)?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue