blob: 3d5051ec4cf95e43aff1d6b2ba93dc6f1eb0f2c4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
APP_ROOT = File.expand_path('..', __dir__)
Dir.chdir(APP_ROOT) do
begin
exec %w(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
|