yarn: install method should be 'homebrew'
Closes #11374. Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
This commit is contained in:
parent
51d046569a
commit
7117e25d67
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class Yarn < Formula
|
||||||
def install
|
def install
|
||||||
system "npm", "install", *Language::Node.std_npm_install_args(libexec)
|
system "npm", "install", *Language::Node.std_npm_install_args(libexec)
|
||||||
bin.install_symlink Dir["#{libexec}/bin/*"]
|
bin.install_symlink Dir["#{libexec}/bin/*"]
|
||||||
inreplace "#{libexec}/lib/node_modules/yarn/package.json", '"installationMethod": "tar"', '"installationMethod": "brew"'
|
inreplace "#{libexec}/lib/node_modules/yarn/package.json", '"installationMethod": "tar"', '"installationMethod": "homebrew"'
|
||||||
end
|
end
|
||||||
|
|
||||||
test do
|
test do
|
||||||
|
|
Loading…
Reference in a new issue