Skip to content

Commit

Permalink
these compile times are way too long
Browse files Browse the repository at this point in the history
  • Loading branch information
MordechaiHadad committed Aug 23, 2024
1 parent 6362677 commit f7dd17d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/install_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ async fn handle_rollback(config: &Config) -> Result<()> {
fs::remove_dir_all(oldest_path).await?;
}

println!("Current working directory: {}", env::current_dir()?.display());
// handle this for older installations of nightly instead of introducing breaking changes
cfg_if::cfg_if! {
if #[cfg(unix)] {
Expand All @@ -246,7 +247,6 @@ async fn handle_rollback(config: &Config) -> Result<()> {

}
}
println!("Current working directory: {}", env::current_dir()?.display());

let nightly_file = fs::read_to_string("nightly/bob.json").await?;
let mut json_struct: UpstreamVersion = serde_json::from_str(&nightly_file)?;
Expand Down

0 comments on commit f7dd17d

Please sign in to comment.