From c5386e4e25a94aa46716deb3db74a2c933c87a35 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Fri, 6 Nov 2020 22:51:27 +0100 Subject: [PATCH] fixup! fixup! eval: partially split up github interactions --- ofborg/src/ghrepo.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/ofborg/src/ghrepo.rs b/ofborg/src/ghrepo.rs index fcf974c4..d4700574 100644 --- a/ofborg/src/ghrepo.rs +++ b/ofborg/src/ghrepo.rs @@ -25,15 +25,11 @@ impl<'a> Client<'a> { self.repo.issue(number) } - pub fn create_status( - &self, - sha: &str, - status: &StatusOptions, - ) -> Result { + pub fn create_status(&self, sha: &str, status: &StatusOptions) -> hubcaps::Result { self.repo.statuses().create(sha, status) } - pub fn create_checkrun(&self, check: &CheckRunOptions) -> Result { + pub fn create_checkrun(&self, check: &CheckRunOptions) -> hubcaps::Result { self.repo.checkruns().create(&check) }