Skip to content

Commit

Permalink
Update MatrixEvent.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostwriter committed Dec 3, 2023
1 parent 6e331c3 commit 118c7ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Event/MatrixEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ public function getMatrix(): string
{
$matrix = $this->matrix['include'];
if ($matrix === []) {
$tempPath = sys_get_temp_dir();
$this->include(new Job('No tests', 'echo "No tests"', [], $tempPath, $tempPath, $tempPath, 'locked'));
$this->include(Job::noop('Noop: success.'));
}

return Json::encode($this->matrix);
Expand Down

0 comments on commit 118c7ba

Please sign in to comment.