Skip to content

Commit

Permalink
lerna: use std_npm_args
Browse files Browse the repository at this point in the history
  • Loading branch information
branchvincent committed Aug 2, 2024
1 parent 56e3049 commit 1a6ba89
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Formula/l/lerna.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class Lerna < Formula
desc "Tool for managing JavaScript projects with multiple packages"
homepage "https://lerna.js.org"
Expand All @@ -20,7 +18,7 @@ class Lerna < Formula
depends_on "node"

def install
system "npm", "install", *Language::Node.std_npm_install_args(libexec)
system "npm", "install", *std_npm_args
bin.install_symlink Dir["#{libexec}/bin/*"]

# Replace universal binaries with native slices
Expand Down

0 comments on commit 1a6ba89

Please sign in to comment.