Skip to content

Commit

Permalink
more debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
MordechaiHadad committed Aug 23, 2024
1 parent 195a43e commit 1af216e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/handlers/install_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ pub async fn start(

let upstream_nightly = nightly_version.as_ref().unwrap();
let local_nightly = helpers::version::nightly::get_local_nightly(config).await?;
println!("Local: {:?}, {:?}", local_nightly, upstream_nightly);

if upstream_nightly.published_at == local_nightly.published_at {
return Ok(InstallResult::NightlyIsUpdated);
Expand Down
1 change: 0 additions & 1 deletion src/handlers/update_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ use super::{install_handler, InstallResult};
/// * [`is_version_installed`](src/helpers/version.rs)
/// * [`install_handler::start`](src/handlers/install_handler.rs)
pub async fn start(data: Update, client: &Client, config: Config) -> Result<()> {
println!("hello yes i am here");
if data.version.is_none() || data.all {
let mut did_update = false;

Expand Down

0 comments on commit 1af216e

Please sign in to comment.