Skip to content

Commit 828e0bb

Browse files
committed
fix: fix brew warning GitHub Actions matcher
1 parent f3b54ce commit 828e0bb

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

dist/legacy/setup-cpp.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/legacy/setup-cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/modern/setup-cpp.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

dist/modern/setup-cpp.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/setup-brew/src/install-pack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export async function installBrewPack(
5656
// dry run to check if the package is already installed
5757
const dryRun = execaSync(brewPath, [...args, "--dry-run"], { stdio: "pipe" })
5858
const isAlreadyInstalled = dryRun.exitCode === 0
59-
&& (new RegExp(`${name}.* is already installed and up-to-date.[\\s\\S]*`)).test(dryRun.stderr)
59+
&& (new RegExp(`.*${name}.* is already installed and up-to-date.[\\s\\S]*`)).test(dryRun.stderr)
6060

6161
if (isAlreadyInstalled) {
6262
// if the package is already installed and up-to-date, skip the installation

0 commit comments

Comments
 (0)