Skip to content

Commit

Permalink
feat: Display toolchain file path after pinning
Browse files Browse the repository at this point in the history
Signed-off-by: Chawye Hsu <su+git@chawyehsu.com>
  • Loading branch information
chawyehsu committed Jul 17, 2024
1 parent 724d177 commit 63e1468
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/cli/pin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ pub async fn execute(args: Args) -> miette::Result<()> {
.await
.into_diagnostic()?;

println!("Pinned toolchain to version '{}'", version);
println!(
"{}Pinned toolchain to version '{}'",
console::style(console::Emoji("✔ ", "")).green(),
version
);
println!("Toolchain file: {}", toolchain_file.display());

Ok(())
}

0 comments on commit 63e1468

Please sign in to comment.