mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
fix: client distribution string replacement looking for wrong key
This commit is contained in:
parent
93b09ca067
commit
d425c5b534
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ fn dist_client(version: &str, release_tag: &str, target: &Target) -> Result<()>
|
||||||
.replace(r#""releaseTag": null"#, &format!(r#""releaseTag": "{}""#, release_tag))
|
.replace(r#""releaseTag": null"#, &format!(r#""releaseTag": "{}""#, release_tag))
|
||||||
.replace(r#""$generated-start": {},"#, "")
|
.replace(r#""$generated-start": {},"#, "")
|
||||||
.replace(",\n \"$generated-end\": {}", "")
|
.replace(",\n \"$generated-end\": {}", "")
|
||||||
.replace(r#""enableProposedApi": true,"#, r#""#);
|
.replace(r#""enabledApiProposals": true,"#, r#""#);
|
||||||
patch.commit()?;
|
patch.commit()?;
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
Loading…
Reference in a new issue