yarn 263 B

123456789
  1. #!/usr/bin/env ruby
  2. APP_ROOT = File.expand_path('..', __dir__)
  3. Dir.chdir(APP_ROOT) do
  4. exec 'yarnpkg', *ARGV
  5. rescue Errno::ENOENT
  6. warn 'Yarn executable was not detected in the system.'
  7. warn 'Download Yarn at https://yarnpkg.com/en/docs/install'
  8. exit 1
  9. end