Auto merge of #12992 - klensy:lintcheck-bump, r=Alexendoo
bump strip-ansi-escapes This bumps `strip-ansi-escapes` to remove arrayvec from it's deps (https://github.com/luser/strip-ansi-escapes/pull/8) Should Cargo.lock be commited too to track it's working state? changelog: none
This commit is contained in:
commit
4ddc8a2e4e
@ -19,7 +19,7 @@ flate2 = "1.0"
|
|||||||
rayon = "1.5.1"
|
rayon = "1.5.1"
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
serde_json = "1.0.85"
|
serde_json = "1.0.85"
|
||||||
strip-ansi-escapes = "0.1.1"
|
strip-ansi-escapes = "0.2.0"
|
||||||
tar = "0.4"
|
tar = "0.4"
|
||||||
toml = "0.7.3"
|
toml = "0.7.3"
|
||||||
ureq = { version = "2.2", features = ["json"] }
|
ureq = { version = "2.2", features = ["json"] }
|
||||||
|
@ -161,7 +161,7 @@ fn new(mut diag: Diagnostic, crate_name: &str, crate_version: &str) -> Option<Se
|
|||||||
|
|
||||||
// --recursive bypasses cargo so we have to strip the rendered output ourselves
|
// --recursive bypasses cargo so we have to strip the rendered output ourselves
|
||||||
let rendered = diag.rendered.as_mut().unwrap();
|
let rendered = diag.rendered.as_mut().unwrap();
|
||||||
*rendered = String::from_utf8(strip_ansi_escapes::strip(&rendered).unwrap()).unwrap();
|
*rendered = strip_ansi_escapes::strip_str(&rendered);
|
||||||
|
|
||||||
Some(Self {
|
Some(Self {
|
||||||
crate_name: crate_name.to_owned(),
|
crate_name: crate_name.to_owned(),
|
||||||
|
Loading…
Reference in New Issue
Block a user