diff --git a/dist/index.js b/dist/index.js index fb12ece4..7af22aea 100644 --- a/dist/index.js +++ b/dist/index.js @@ -3660,8 +3660,8 @@ async function addExtensionDarwin(extension_csv, version, pipe) { // match 5.6xdebug to 8.0xdebug, 5.6swoole to 8.0swoole // match 5.6grpc to 7.4grpc, 5.6protobuf to 7.4protobuf // match 7.1pcov to 8.0pcov - case /(5\.6|7\.[0-4]|8\.[0-9])(xdebug|swoole)/.test(version_extension): - case /(5\.6|7\.[0-4])(grpc|protobuf)/.test(version_extension): + case /(5\.6|7\.[0-4]|8\.[0-9])xdebug/.test(version_extension): + case /(5\.6|7\.[0-4])(grpc|protobuf|swoole)/.test(version_extension): case /(7\.[1-4]|8\.[0-9])pcov/.test(version_extension): command = 'add_brew_extension ' + ext_name; break; diff --git a/src/extensions.ts b/src/extensions.ts index dea57997..05cf055b 100644 --- a/src/extensions.ts +++ b/src/extensions.ts @@ -68,8 +68,8 @@ export async function addExtensionDarwin( // match 5.6xdebug to 8.0xdebug, 5.6swoole to 8.0swoole // match 5.6grpc to 7.4grpc, 5.6protobuf to 7.4protobuf // match 7.1pcov to 8.0pcov - case /(5\.6|7\.[0-4]|8\.[0-9])(xdebug|swoole)/.test(version_extension): - case /(5\.6|7\.[0-4])(grpc|protobuf)/.test(version_extension): + case /(5\.6|7\.[0-4]|8\.[0-9])xdebug/.test(version_extension): + case /(5\.6|7\.[0-4])(grpc|protobuf|swoole)/.test(version_extension): case /(7\.[1-4]|8\.[0-9])pcov/.test(version_extension): command = 'add_brew_extension ' + ext_name; break;