Skip to content

Commit

Permalink
wdawdawd
Browse files Browse the repository at this point in the history
  • Loading branch information
MordechaiHadad committed Aug 23, 2024
1 parent e179f0c commit 0ca721d
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 @@ -248,6 +248,7 @@ async fn handle_rollback(config: &Config) -> Result<()> {
}

let nightly_file = fs::read_to_string("nightly/bob.json").await?;
println!("hello i am here");
let mut json_struct: UpstreamVersion = serde_json::from_str(&nightly_file)?;
let id: String = json_struct
.target_commitish
Expand All @@ -257,7 +258,6 @@ async fn handle_rollback(config: &Config) -> Result<()> {
.take(7)
.collect();

println!("hello i am here");
info!("Creating rollback: nightly-{id}");
filesystem::copy_dir_async("nightly", format!("nightly-{id}")).await?;

Expand Down

0 comments on commit 0ca721d

Please sign in to comment.