Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump ariadne from 0.4.1 to 0.5.0 #5092

Merged
merged 3 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 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
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ tracing-loki = { version = "0.2", default-features = false, features = ["compat-
termios = "0.3"

[dev-dependencies]
ariadne = "0.4"
ariadne = "0.5"
assert_cmd = "2"
bimap = "0.6"
cargo_metadata = "0.19"
Expand Down
4 changes: 2 additions & 2 deletions tests/lint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ impl LintRunner {
}
let num_violations = all_violations.len();
let auto = Utf8PathBuf::new(); // ariadne figures out the file label if it doesn't have one
let mut builder = ariadne::Report::build(ReportKind::Error, &auto, 0)
let mut builder = ariadne::Report::build(ReportKind::Error, (&auto, 0..1))
.with_labels(all_violations)
.with_message(T::DESCRIPTION);
if let Some(help) = T::HELP {
Expand Down Expand Up @@ -229,7 +229,7 @@ impl LintRunner {
}
let num_violations = all_violations.len();
let auto = Utf8PathBuf::new(); // ariadne figures out the file label if it doesn't have one
let builder = ariadne::Report::build(ReportKind::Error, &auto, 0)
let builder = ariadne::Report::build(ReportKind::Error, (&auto, 0..1))
.with_labels(all_violations)
.with_message("TODOs must have owners and tracking issues")
.with_help("Change these to be `TODO(<owner>): https://github.com/ChainSafe/forest/issues/<issue>");
Expand Down
Loading