Skip to content

Commit

Permalink
chore(deps): Bump strip-ansi-escapes from 0.1.1 to 0.2.0 (vectordotde…
Browse files Browse the repository at this point in the history
…v#18203)

* chore(deps): Bump strip-ansi-escapes from 0.1.1 to 0.2.0

Bumps [strip-ansi-escapes](https://github.com/luser/strip-ansi-escapes) from 0.1.1 to 0.2.0.
- [Commits](luser/strip-ansi-escapes@0.1.1...v0.2.0)

---
updated-dependencies:
- dependency-name: strip-ansi-escapes
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Remove unwrap

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
  • Loading branch information
dependabot[bot] and jszwedko committed Aug 11, 2023
1 parent 01295b0 commit 8bbe6a6
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 5 deletions.
25 changes: 22 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -313,7 +313,7 @@ snafu = { version = "0.7.5", default-features = false, features = ["futures"] }
snap = { version = "1.1.0", default-features = false, optional = true }
socket2 = { version = "0.5.3", default-features = false }
stream-cancel = { version = "0.8.1", default-features = false }
strip-ansi-escapes = { version = "0.1.1", default-features = false }
strip-ansi-escapes = { version = "0.2.0", default-features = false }
syslog = { version = "6.1.0", default-features = false, optional = true }
tikv-jemallocator = { version = "0.5.4", default-features = false, optional = true }
tokio-postgres = { version = "0.7.7", default-features = false, features = ["runtime", "with-chrono-0_4"], optional = true }
Expand Down
2 changes: 1 addition & 1 deletion src/validate.rs
Expand Up @@ -403,7 +403,7 @@ impl Formatter {
.as_ref()
.lines()
.map(|line| {
String::from_utf8_lossy(&strip_ansi_escapes::strip(line).unwrap())
String::from_utf8_lossy(&strip_ansi_escapes::strip(line))
.chars()
.count()
})
Expand Down

0 comments on commit 8bbe6a6

Please sign in to comment.