From be7fa7cc73dd4c26bdf90e217a4e08adaf33e633 Mon Sep 17 00:00:00 2001 From: mdheller <21163552+mdheller@users.noreply.github.com> Date: Sun, 31 May 2026 09:09:38 -0400 Subject: [PATCH] Use cd block for Noetica npm install --- Formula/noetica.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Formula/noetica.rb b/Formula/noetica.rb index 681cfa9..26f9f8d 100644 --- a/Formula/noetica.rb +++ b/Formula/noetica.rb @@ -13,7 +13,9 @@ class Noetica < Formula def install libexec.install Dir["*"] - system Formula["node"].opt_bin/"npm", "install", "--omit=dev", "--ignore-scripts", "--no-audit", "--no-fund", chdir: libexec + cd libexec do + system Formula["node"].opt_bin/"npm", "install", "--omit=dev", "--ignore-scripts", "--no-audit", "--no-fund" + end (bin/"noetica").write <<~EOS #!/usr/bin/env bash