Skip to content

Commit

Permalink
adds some information on which channel is updating.
Browse files Browse the repository at this point in the history
  • Loading branch information
ghyatzo committed Apr 16, 2024
1 parent 8221ad4 commit 0a0e4a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/command_update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ fn update_channel(
let current_version =
&config_db.installed_channels.get(channel).ok_or_else(|| anyhow!("Trying to get the installed version for a channel that does not exist in the config database."))?.clone();

eprintln!("Updating channel: {}", channel);
match current_version {
JuliaupConfigChannel::SystemChannel { version } => {
let should_version = version_db.available_channels.get(channel);
Expand Down Expand Up @@ -51,6 +52,8 @@ fn update_channel(
paths,
)?;
}
} else {
eprintln!("Already on the latest version, skipping.");
}
} else if ignore_non_updatable_channel {
eprintln!("Skipping update for '{}' channel, it no longer exists in the version database.", channel);
Expand Down

0 comments on commit 0a0e4a0

Please sign in to comment.