Skip to content

Commit

Permalink
fix: Replace serde_yaml::to_string with serde_json::to_string_yaml (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
hesampakdaman authored Jun 4, 2024
1 parent 7e665fc commit 9943c53
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 22 deletions.
20 changes: 0 additions & 20 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion crates/atuin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ tracing = "0.1"
tracing-subscriber = { workspace = true }
uuid = { workspace = true }
unicode-segmentation = "1.11.0"
serde_yaml = "0.9.34"
sysinfo = "0.30.7"
regex="1.10.4"

Expand Down
2 changes: 1 addition & 1 deletion crates/atuin/src/command/client/doctor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ pub async fn run(settings: &Settings) -> Result<()> {

checks(&dump);

let dump = serde_yaml::to_string(&dump)?;
let dump = serde_json::to_string_pretty(&dump)?;

println!("\nPlease include the output below with any bug reports or issues\n");
println!("{dump}");
Expand Down

0 comments on commit 9943c53

Please sign in to comment.