]> git.openstreetmap.org Git - rails.git/blob - bin/yarn
Changed Ubuntu 18.04 to 20.04 and Ruby 2.5 to 2.7
[rails.git] / bin / yarn
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