diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/yarn | 2 |
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" |