Sha256: 50b3d012f6581378e1c33a66461c808541a32a040ae28ece3aeef2162225c155

Contents?: true

Size: 312 Bytes

Versions: 5

Compression:

Stored size: 312 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

APP_ROOT = File.expand_path('..', __dir__)
Dir.chdir(APP_ROOT) do
  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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tainted_love-0.4.1 tests/rails/bin/yarn
tainted_love-0.4.0 tests/rails/bin/yarn
tainted_love-0.1.5 example/bin/yarn
tainted_love-0.1.4 example/bin/yarn
tainted_love-0.1.3 example/bin/yarn