diff --git a/src/Poster.php b/src/Poster.php index f3fb10e..eaf08bc 100644 --- a/src/Poster.php +++ b/src/Poster.php @@ -24,10 +24,12 @@ final class Poster{ $this->process($this->xml); //process xml and upload screenshots // create the issue - $issue=$this->repo->createIssue([ - 'title'=>$title, - 'body'=>$this->report - ]); + if(trim($this->report)){ + $issue=$this->repo->createIssue([ + 'title'=>$title, + 'body'=>$this->report + ]); + } }