Skip to content

Commit

Permalink
Log when data is sent successfully
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Dec 3, 2019
1 parent 6fa3d3d commit 946a46a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -269,9 +269,6 @@ protected function fillGithubActions()
/** @var array */ /** @var array */
$event_data = \json_decode($event_json, true); $event_data = \json_decode($event_json, true);


/** @psalm-suppress ForbiddenCode */
var_dump($event_data);

if (isset($event_data['head_commit'])) { if (isset($event_data['head_commit'])) {
/** /**
* @var array{ * @var array{
Expand Down
2 changes: 2 additions & 0 deletions src/Psalm/Plugin/Shepherd.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ function (array $i) : bool {
. var_export($build_info, true) . var_export($build_info, true)
. PHP_EOL; . PHP_EOL;
} }
} else {
echo "Shepherd: Sent CI metadata to $base_address" . PHP_EOL;
} }


// Close cURL session handle // Close cURL session handle
Expand Down

0 comments on commit 946a46a

Please sign in to comment.