Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
0o-de-lally committed Nov 15, 2023
1 parent b8aa80b commit 3a62b67
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions tools/genesis/src/wizard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,15 +245,14 @@ impl GenesisWizard {
Ok(true) => {
match gh_client.fork_genesis_repo(&self.genesis_repo_org, &self.repo_name) {
Ok(r) => {
println!("SUCCESS: repo fork in progress, message: {:?}", r);
// give it a few seconds after submitting. Otherwise will get a 500 error while the repo is being created
thread::sleep(Duration::from_secs(5));
},
println!("SUCCESS: repo fork in progress, message: {:?}", r);
// give it a few seconds after submitting. Otherwise will get a 500 error while the repo is being created
thread::sleep(Duration::from_secs(5));
}
Err(e) => {
bail!("Failed to fork repo. We need to fork the genesis repo. Are you sure it's not already forked. {}", e);
},
bail!("Failed to fork repo. We need to fork the genesis repo. Are you sure it's not already forked. {}", e);
}
};

}
_ => bail!("no forked repo on your account, we need it to continue"),
}
Expand Down

0 comments on commit 3a62b67

Please sign in to comment.