Skip to content

Commit

Permalink
Update env-functions.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
iainrussell authored Nov 7, 2023
1 parent 93b36f0 commit 32d7059
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/env-functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ export const setupEnv = async (
output = "";
exitCode = await exec.exec(
"env",
["brew", "--prefix", "openssl@1.1"],
["brew", "--prefix", "openssl"],
options
);

if (isError(exitCode, "Homebrew command failed")) return env;

if (isError(!output, "Homebrew OpenSSL 1.1 prefix not found"))
if (isError(!output, "Homebrew OpenSSL prefix not found"))
return env;

const openSslDir = output.replace(/\n$/, "");
Expand Down

0 comments on commit 32d7059

Please sign in to comment.