提交 35ecf460 编写于 作者: J Javan Makhmali 提交者: GitHub

Merge pull request #30614 from kami-zh/yarn-on-bin-update

Align `bin/update`'s Yarn usage with `bin/setup`
......@@ -15,6 +15,11 @@ chdir APP_ROOT do
puts '== Installing dependencies =='
system! 'gem install bundler --conservative'
system('bundle check') || system!('bundle install')
<% unless options.skip_yarn? -%>
# Install JavaScript dependencies if using Yarn
# system('bin/yarn')
<% end -%>
<% unless options.skip_active_record? -%>
puts "\n== Updating database =="
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册