Skip to content

Commit

Permalink
fix: Fixed environment check failed in Swoole 4 (swoft-cloud/swoft-co…
Browse files Browse the repository at this point in the history
  • Loading branch information
huangzhhui authored and swoft-bot committed Oct 8, 2018
1 parent ab46f09 commit 4850718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/AppCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function check(Output $output)
{
// env check
list($code, $return,) = ProcessHelper::run('php --ri swoole');
$asyncRdsEnabled = $code === 0 ? \strpos($return, 'async redis client => enabled') : false;
$asyncRdsEnabled = $code === 0 ? \strpos($return, 'redis client => enabled') : false;

$list = [
"<bold>Runtime environment check</bold>\n",
Expand Down

0 comments on commit 4850718

Please sign in to comment.