update checks for shared swoole-hook extensions

This commit is contained in:
DubbleClick
2025-08-25 12:08:53 +07:00
parent 75f734daa8
commit 8104ff7236
6 changed files with 42 additions and 6 deletions

View File

@@ -252,7 +252,7 @@ class BuildPHPCommand extends BuildCommand
$path = FileSystem::convertPath("{$build_root_path}/modules/{$ext}.so");
if (file_exists(BUILD_MODULES_PATH . "/{$ext}.so")) {
logger()->info("Shared extension [{$ext}] path{$fixed}: {$path}");
} else {
} elseif (!str_contains($ext, 'swoole-hook')) {
logger()->warning("Shared extension [{$ext}] not found, please check!");
}
}