From 854f703831d1286aab1923d6545a3472e61c202e Mon Sep 17 00:00:00 2001 From: Branch Vincent Date: Fri, 18 Feb 2022 22:49:59 -0500 Subject: [PATCH] hsd: depend on node@14 --- Formula/hsd.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Formula/hsd.rb b/Formula/hsd.rb index c0c1e0d1078ef..99f4dc53884cd 100644 --- a/Formula/hsd.rb +++ b/Formula/hsd.rb @@ -20,12 +20,12 @@ class Hsd < Formula end depends_on "python@3.10" => :build - depends_on "node@10" + depends_on "node@14" depends_on "unbound" def install - system "#{Formula["node@10"].bin}/npm", "install", *Language::Node.std_npm_install_args(libexec) - (bin/"hsd").write_env_script libexec/"bin/hsd", PATH: "#{Formula["node@10"].opt_bin}:$PATH" + system "npm", "install", *Language::Node.std_npm_install_args(libexec) + (bin/"hsd").write_env_script libexec/"bin/hsd", PATH: "#{Formula["node@14"].opt_bin}:$PATH" bin.install_symlink libexec/"bin/hsd-cli" bin.install_symlink libexec/"bin/hsw-cli" end @@ -44,7 +44,7 @@ def install await node.ensure(); })(); EOS - system "#{Formula["node@10"].opt_bin}/node", testpath/"script.js" + system "#{Formula["node@14"].opt_bin}/node", testpath/"script.js" assert File.directory?("#{testpath}/.hsd") end end