Skip to content

Commit 4850718

Browse files
huangzhhuiswoft-bot
authored andcommitted
fix: Fixed environment check failed in Swoole 4 (swoft-cloud/swoft-component#215)
1 parent ab46f09 commit 4850718

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Command/AppCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function check(Output $output)
8585
{
8686
// env check
8787
list($code, $return,) = ProcessHelper::run('php --ri swoole');
88-
$asyncRdsEnabled = $code === 0 ? \strpos($return, 'async redis client => enabled') : false;
88+
$asyncRdsEnabled = $code === 0 ? \strpos($return, 'redis client => enabled') : false;
8989

9090
$list = [
9191
"<bold>Runtime environment check</bold>\n",

0 commit comments

Comments
 (0)