diff --git a/Formula/cartesi.rb b/Formula/cartesi.rb index 932cd3f..6f3eb79 100644 --- a/Formula/cartesi.rb +++ b/Formula/cartesi.rb @@ -18,7 +18,8 @@ def install bin.install_symlink Dir["#{libexec}/bin/*"] # use node installed by the "node" formula instead of the PATH one - inreplace libexec/"lib/node_modules/@cartesi/cli/bin/run.js", "#!/usr/bin/env node", "#!#{Formula["node"].opt_bin}/node" + inreplace libexec/"lib/node_modules/@cartesi/cli/bin/run.js", "#!/usr/bin/env node", + "#!#{Formula["node"].opt_bin}/node" end test do