From 5a25c5756750c7fe409ecfcff1d4d788f2aae467 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Sat, 16 Nov 2024 20:55:47 -0500 Subject: [PATCH] prometheus: build with node 23 Signed-off-by: Rui Chen --- Formula/p/prometheus.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/p/prometheus.rb b/Formula/p/prometheus.rb index bd2de3af36633..eb686129f1e43 100644 --- a/Formula/p/prometheus.rb +++ b/Formula/p/prometheus.rb @@ -24,13 +24,13 @@ class Prometheus < Formula depends_on "gnu-tar" => :build depends_on "go" => :build - depends_on "node@22" => :build # pin to use node22, due to node23 issue, see https://github.com/nodejs/node/issues/55826 + depends_on "node" => :build depends_on "yarn" => :build def install ENV.deparallelize ENV.prepend_path "PATH", Formula["gnu-tar"].opt_libexec/"gnubin" - ENV.prepend_path "PATH", Formula["node@22"].opt_libexec/"bin" + ENV.prepend_path "PATH", Formula["node"].opt_libexec/"bin" mkdir_p buildpath/"src/github.com/prometheus" ln_sf buildpath, buildpath/"src/github.com/prometheus/prometheus"