Sha256: 2655c21e2cdec70b9cf7140668bb7e9823288b64c5cda06e6dc9806754e60457

Contents?: true

Size: 303 Bytes

Versions: 2

Compression:

Stored size: 303 Bytes

Contents

#!/usr/bin/env ruby
APP_ROOT = File.expand_path('..', __dir__)
Dir.chdir(APP_ROOT) do
  begin
    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'
    exit 1
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
rails_audit-1.0.4 test/dummy/bin/yarn
rails_org-0.0.1 test/dummy/bin/yarn