diff --git a/Formula/yarn.rb b/Formula/yarn.rb index ec0bfebd73..5bcfdf7393 100644 --- a/Formula/yarn.rb +++ b/Formula/yarn.rb @@ -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