dont post blank reports
This commit is contained in:
parent
994768ca9d
commit
71cffd1614
@ -24,10 +24,12 @@ final class Poster{
|
|||||||
$this->process($this->xml); //process xml and upload screenshots
|
$this->process($this->xml); //process xml and upload screenshots
|
||||||
|
|
||||||
// create the issue
|
// create the issue
|
||||||
|
if(trim($this->report)){
|
||||||
$issue=$this->repo->createIssue([
|
$issue=$this->repo->createIssue([
|
||||||
'title'=>$title,
|
'title'=>$title,
|
||||||
'body'=>$this->report
|
'body'=>$this->report
|
||||||
]);
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user