diff --git a/Formula/ask-cli.rb b/Formula/ask-cli.rb index 62ba59d503f..da3f6a190ed 100644 --- a/Formula/ask-cli.rb +++ b/Formula/ask-cli.rb @@ -25,7 +25,7 @@ class AskCli < Formula system "npm", "install", *Language::Node.std_npm_install_args(libexec) bin.write_exec_script libexec/"bin/ask" - term_size_vendor_dir = libexec/"lib/node_modules/#{name}/node_modules/term-size/vendor" + term_size_vendor_dir = libexec/"lib/node_modules"/name/"node_modules/term-size/vendor" term_size_vendor_dir.rmtree # remove pre-built binaries on_macos do @@ -34,6 +34,9 @@ class AskCli < Formula # Replace the vendored pre-built term-size with one we build ourselves ln_sf (Formula["macos-term-size"].opt_bin/"term-size").relative_path_from(macos_dir), macos_dir end + + # Replace universal binaries with native slices + deuniversalize_machos end test do diff --git a/audit_exceptions/universal_binary_allowlist.json b/audit_exceptions/universal_binary_allowlist.json index 0c7c3a6c358..20d991420af 100644 --- a/audit_exceptions/universal_binary_allowlist.json +++ b/audit_exceptions/universal_binary_allowlist.json @@ -1,5 +1,4 @@ [ - "ask-cli", "babel", "cdktf", "code-server",