Skip to content

Commit

Permalink
Add debug lines
Browse files Browse the repository at this point in the history
  • Loading branch information
umutphp committed Jun 13, 2021
1 parent c427092 commit 9784ebc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion wp-vulnerability-check.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ function showOptions() {
try {
$check = new WPVulnerabilityCheck\Manager($settings);
$status = $check->check();


echo "Success" . PHP_EOL;
var_dump($status);

die($status ? SUCCESS : WITH_ERRORS);
} catch (\Exception $e) {
fwrite(STDERR, $e->getMessage() . PHP_EOL);
Expand Down

0 comments on commit 9784ebc

Please sign in to comment.