mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-10 07:04:22 +00:00
fix: Fix generated markers not being patchable in package.json
This commit is contained in:
parent
7c5d496ef8
commit
0c795a7226
2 changed files with 3 additions and 5 deletions
|
@ -4,6 +4,7 @@ tq = "test -- -q"
|
|||
qt = "tq"
|
||||
lint = "clippy --all-targets -- --cap-lints warn"
|
||||
codegen = "run --package xtask --bin xtask -- codegen"
|
||||
dist = "run --package xtask --bin xtask -- dist"
|
||||
|
||||
[target.x86_64-pc-windows-msvc]
|
||||
linker = "rust-lld"
|
||||
|
|
|
@ -70,11 +70,8 @@ fn dist_client(
|
|||
&format!(r#""version": "{version}""#),
|
||||
)
|
||||
.replace(r#""releaseTag": null"#, &format!(r#""releaseTag": "{release_tag}""#))
|
||||
.replace(
|
||||
" {\n \"title\": \"$generated-start\"\n },\n",
|
||||
"",
|
||||
)
|
||||
.replace(" { \"title\": \"$generated-end\" }\n", "")
|
||||
.replace(r#""title": "$generated-start""#, "")
|
||||
.replace(r#""title": "$generated-end""#, "")
|
||||
.replace(r#""enabledApiProposals": [],"#, r#""#);
|
||||
patch.commit(sh)?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue