prevent warning message from addons

This commit is contained in:
DubbleClick 2025-08-26 00:59:54 +07:00
parent ba326973e5
commit 9803bf6c3f

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 (Config::getExt($ext, 'type', 'ext') !== 'addon') {
logger()->warning("Shared extension [{$ext}] not found, please check!");
}
}