From 523d8f20e31e033e375325545bb73f7f59610236 Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Wed, 27 Jun 2018 03:34:01 +0900 Subject: Add symbolic link for yarnpkg (#7894) --- bin/yarn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/yarn b/bin/yarn index 8c1535a78..460dd565b 100755 --- a/bin/yarn +++ b/bin/yarn @@ -2,7 +2,7 @@ APP_ROOT = File.expand_path('..', __dir__) Dir.chdir(APP_ROOT) do begin - exec "yarnpkg #{ARGV.join(' ')}" unless Dir.exist?('node_modules') + exec "yarnpkg", *ARGV rescue Errno::ENOENT $stderr.puts "Yarn executable was not detected in the system." $stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install" -- cgit