diff --git a/bin/hhast-inspect b/bin/hhast-inspect index e7c00d798..ed625b7b0 100755 --- a/bin/hhast-inspect +++ b/bin/hhast-inspect @@ -33,4 +33,5 @@ if (!$found_autoloader) { exit(1); } -InspectorCLI::main(); +$result = \HH\Asio\join(InspectorCLI::runAsync()); +exit($result);