提交 801b33a4 编写于 作者: R Rafael França 提交者: GitHub

Merge pull request #28839 from y-yagi/fix-yarn-exit-status

Ensure bin/yarn matches the one generated by webpacker
......@@ -3,7 +3,8 @@ Dir.chdir(VENDOR_PATH) do
begin
exec "yarnpkg #{ARGV.join(" ")}"
rescue Errno::ENOENT
puts "Yarn executable was not detected in the system."
puts "Download Yarn at https://yarnpkg.com/en/docs/install"
$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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册