mirror of
https://github.com/Noratrieb/does-it-build.git
synced 2026-01-14 10:25:01 +01:00
Cleanup
This commit is contained in:
parent
73098095a7
commit
1d31b9c3fe
2 changed files with 2 additions and 2 deletions
|
|
@ -83,7 +83,7 @@ async fn background_builder_inner(db: &Db, github_client: &GitHubClient) -> Resu
|
||||||
match next {
|
match next {
|
||||||
Some((nightly, mode)) => {
|
Some((nightly, mode)) => {
|
||||||
info!(%nightly, %mode, "Building next nightly");
|
info!(%nightly, %mode, "Building next nightly");
|
||||||
let result = build_every_target_for_toolchain(db, &nightly, mode, &github_client)
|
let result = build_every_target_for_toolchain(db, &nightly, mode, github_client)
|
||||||
.await
|
.await
|
||||||
.wrap_err_with(|| format!("building targets for toolchain {nightly}"));
|
.wrap_err_with(|| format!("building targets for toolchain {nightly}"));
|
||||||
if let Err(err) = result {
|
if let Err(err) = result {
|
||||||
|
|
|
||||||
|
|
@ -247,7 +247,7 @@ pub async fn notify_build_pass(
|
||||||
.await
|
.await
|
||||||
.wrap_err("closing issue")?;
|
.wrap_err("closing issue")?;
|
||||||
|
|
||||||
db.finish_notification(issue.issue_number as i64).await?;
|
db.finish_notification(issue.issue_number).await?;
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue