mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
fix: log current version when using deno upgrade (#25079)
This PR addresses a suggestion in issue #21417 --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
This commit is contained in:
parent
4cd95589ec
commit
2e9d3b688c
1 changed files with 2 additions and 0 deletions
|
@ -450,6 +450,8 @@ pub async fn upgrade(
|
|||
let requested_version =
|
||||
RequestedVersion::from_upgrade_flags(upgrade_flags.clone())?;
|
||||
|
||||
log::info!("Current Deno version: v{}", version::DENO_VERSION_INFO.deno);
|
||||
|
||||
let maybe_selected_version_to_upgrade = match &requested_version {
|
||||
RequestedVersion::Latest(channel) => {
|
||||
find_latest_version_to_upgrade(
|
||||
|
|
Loading…
Reference in a new issue