Skip to content

Commit

Permalink
Auto merge of #12992 - klensy:lintcheck-bump, r=Alexendoo
Browse files Browse the repository at this point in the history
bump strip-ansi-escapes

This bumps `strip-ansi-escapes` to remove arrayvec from it's deps (luser/strip-ansi-escapes#8)

Should Cargo.lock be commited too to track it's working state?

changelog: none
  • Loading branch information
bors committed Jun 27, 2024
2 parents aaaa926 + 606ada1 commit 4ddc8a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lintcheck/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ flate2 = "1.0"
rayon = "1.5.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.85"
strip-ansi-escapes = "0.1.1"
strip-ansi-escapes = "0.2.0"
tar = "0.4"
toml = "0.7.3"
ureq = { version = "2.2", features = ["json"] }
Expand Down
2 changes: 1 addition & 1 deletion lintcheck/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ impl ClippyWarning {

// --recursive bypasses cargo so we have to strip the rendered output ourselves
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 {
crate_name: crate_name.to_owned(),
Expand Down

0 comments on commit 4ddc8a2

Please sign in to comment.