about summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2018-06-27 03:34:01 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-06-26 20:34:01 +0200
commit523d8f20e31e033e375325545bb73f7f59610236 (patch)
treebdf894cd46253dff68ae9bf48a3008234a5f13c9 /bin
parent995f8b389a66ab76ec92d9a240de376f1fc13a38 (diff)
Add symbolic link for yarnpkg (#7894)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/yarn2
1 files changed, 1 insertions, 1 deletions
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"