Skip to content

Commit

Permalink
yarn: install method should be 'homebrew'
Browse files Browse the repository at this point in the history
Closes #11374.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
  • Loading branch information
ibroadfo authored and nijikon committed Mar 22, 2017
1 parent 51d0465 commit 7117e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/yarn.rb
Expand Up @@ -20,7 +20,7 @@ class Yarn < Formula
def install
system "npm", "install", *Language::Node.std_npm_install_args(libexec)
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

test do
Expand Down

0 comments on commit 7117e25

Please sign in to comment.