Skip to content

Commit 873fc45

Browse files
Merge pull request #193 from o2sh/dependabot/cargo/colored-2.0.0
2 parents 53b25ed + 2f9587f commit 873fc45

File tree

3 files changed

+9
-62
lines changed

3 files changed

+9
-62
lines changed

Diff for: Cargo.lock

+5-61
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ section = "utility"
1919
priority = "optional"
2020

2121
[dependencies]
22-
colored= "1.8.0"
22+
colored= "2.0.0"
2323
git2 = {version = "0.13.10", default-features = false}
2424
tokei = "12.0.0"
2525
askalono = "0.4.2"

Diff for: src/ascii_art.rs

+3
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,9 @@ mod test {
264264

265265
#[test]
266266
fn render() {
267+
use colored::control::SHOULD_COLORIZE;
268+
SHOULD_COLORIZE.set_override(true);
269+
267270
let colors_shim = Vec::new();
268271

269272
assert_eq!(

0 commit comments

Comments
 (0)