We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 629e5ec commit 93081aeCopy full SHA for 93081ae
src/bin/bors.rs
@@ -71,8 +71,9 @@ fn try_main(opts: Opts) -> anyhow::Result<()> {
71
let db = runtime
72
.block_on(initialize_db(&opts.db))
73
.context("Cannot initialize database")?;
74
-
75
- let client = create_github_client(opts.app_id.into(), opts.private_key.into_bytes().into())?;
+ let client = runtime.block_on(async move {
+ create_github_client(opts.app_id.into(), opts.private_key.into_bytes().into())
76
+ })?;
77
78
let ctx = runtime.block_on(BorsContext::new(
79
CommandParser::new(opts.cmd_prefix),
0 commit comments