bin/yarn
Missing magic comment `# frozen_string_literal: true`.#!/usr/bin/env rubyVENDOR_PATH = File.expand_path('..', __dir__)Dir.chdir(VENDOR_PATH) doRedundant `begin` block detected. beginPrefer single-quoted strings inside interpolations. exec "yarnpkg #{ARGV.join(" ")}" rescue Errno::ENOENTPrefer single-quoted strings when you don't need string interpolation or special symbols.
Use `warn` instead of `$stderr.puts` to allow such output to be disabled. $stderr.puts "Yarn executable was not detected in the system."Use `warn` instead of `$stderr.puts` to allow such output to be disabled.
Prefer single-quoted strings when you don't need string interpolation or special symbols. $stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install" exit 1 endend