Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Update Rust crate miette to v7 #354

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ lazy_static = "1.4.0"
liquid = "0.26.4"
liquid-core = "0.26.4"
liquid-lib = { version = "0.26.4", features = ["all", "stdlib", "jekyll", "shopify", "extra"] }
miette = { version = "5.10.0", features = ["fancy"] }
miette = { version = "7.0.0", features = ["fancy"] }
mimalloc = { version = "0.1.42", default-features = false }
notify = "6.1.1"
path-clean = "1.0.1"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ pub fn create_liquid_parser() -> liquid::Parser {
let path = &unwrapped_snippet.as_path();
partial.add(
snippet_name,
&fs::read_to_string(path)
fs::read_to_string(path)
.into_diagnostic()
.wrap_err(format!("Unable to read snippet file '{}'.", path.display()))
.unwrap(),
Expand Down