From 5403e4f06b2bb9da60c67b7c1909f4d412c20307 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Czerniawski?= <33061335+lczerniawski@users.noreply.github.com> Date: Fri, 15 Mar 2024 00:53:46 +0100 Subject: chore(cli): move away from PathBuf in clap (#22036) --- cli/tools/installer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/tools/installer.rs') diff --git a/cli/tools/installer.rs b/cli/tools/installer.rs index 1b1b6f30c..ea4b5ff48 100644 --- a/cli/tools/installer.rs +++ b/cli/tools/installer.rs @@ -455,7 +455,7 @@ async fn resolve_shim_data( extra_files.push(( copy_path, fs::read_to_string(lock_path) - .with_context(|| format!("error reading {}", lock_path.display()))?, + .with_context(|| format!("error reading {}", lock_path))?, )); } else { // Provide an empty lockfile so that this overwrites any existing lockfile -- cgit v1.2.3