blob: 90ddcc520ea554db8b6694a8bc7fd5a2f4813d3a (
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 "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
|