dont post results if no url set
This commit is contained in:
parent
7fada2c155
commit
05d4e2e3c1
@ -17,6 +17,7 @@ final class Poster{
|
||||
}
|
||||
|
||||
public function post($url, $user, $pass, $repoUser, $repo, $title='Test Results'){
|
||||
if(!$url) return;
|
||||
// open connection and repo
|
||||
$this->client=new Client($url, $user, $pass);
|
||||
$this->repo=$this->client->getRepo($repoUser, $repo);
|
||||
|
Loading…
Reference in New Issue
Block a user