diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-06-15 07:47:33 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-15 07:47:33 +0100 |
commit | 7d363755a27f3bc89a5c7f5d15c8664299436bb4 (patch) | |
tree | 62b8686a37ebba21fbf7a61ed7d9b866b29db871 /xtask | |
parent | bd8788241d668994ba660b9753443f6a7a40660c (diff) | |
parent | 41949748a6123fd6061eb984a47f4fe780525e63 (diff) |
Merge #9282
9282: fix: Use objects instead of bools for markers in package.json r=lnicola a=lnicola
Addresses https://github.com/rust-analyzer/rust-analyzer/issues/9174#issue-913980665.
Co-authored-by: Laurențiu Nicola <[email protected]>
Diffstat (limited to 'xtask')
-rw-r--r-- | xtask/src/dist.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xtask/src/dist.rs b/xtask/src/dist.rs index 3a67294c5..c7363688a 100644 --- a/xtask/src/dist.rs +++ b/xtask/src/dist.rs | |||
@@ -45,8 +45,8 @@ fn dist_client(version: &str, release_tag: &str) -> Result<()> { | |||
45 | patch | 45 | patch |
46 | .replace(r#""version": "0.4.0-dev""#, &format!(r#""version": "{}""#, version)) | 46 | .replace(r#""version": "0.4.0-dev""#, &format!(r#""version": "{}""#, version)) |
47 | .replace(r#""releaseTag": null"#, &format!(r#""releaseTag": "{}""#, release_tag)) | 47 | .replace(r#""releaseTag": null"#, &format!(r#""releaseTag": "{}""#, release_tag)) |
48 | .replace(r#""$generated-start": false,"#, "") | 48 | .replace(r#""$generated-start": {},"#, "") |
49 | .replace(",\n \"$generated-end\": false", ""); | 49 | .replace(",\n \"$generated-end\": {}", ""); |
50 | 50 | ||
51 | if nightly { | 51 | if nightly { |
52 | patch.replace( | 52 | patch.replace( |