diff options
author | Yoshiyuki Hirano <yhirano@me.com> | 2017-07-15 05:46:57 +0900 |
---|---|---|
committer | Yoshiyuki Hirano <yhirano@me.com> | 2017-07-16 07:34:02 +0900 |
commit | 02be30ffce1e09136cd8941ec40f7b2e52bcd14b (patch) | |
tree | 3860db9224e186c01ff384081788638fc0f52718 /railties/lib/rails | |
parent | c1f9fa8c69590222fac43d58bf64ef4a1225d7ce (diff) | |
download | rails-02be30ffce1e09136cd8941ec40f7b2e52bcd14b.tar.gz rails-02be30ffce1e09136cd8941ec40f7b2e52bcd14b.tar.bz2 rails-02be30ffce1e09136cd8941ec40f7b2e52bcd14b.zip |
Remove blank lines in setup
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/bin/setup.tt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/bin/setup.tt b/railties/lib/rails/generators/rails/app/templates/bin/setup.tt index ee9d077c30..a53d1fb0a9 100644 --- a/railties/lib/rails/generators/rails/app/templates/bin/setup.tt +++ b/railties/lib/rails/generators/rails/app/templates/bin/setup.tt @@ -15,10 +15,11 @@ chdir APP_ROOT do puts '== Installing dependencies ==' system! 'gem install bundler --conservative' system('bundle check') || system!('bundle install') -<% unless options[:skip_yarn] %> +<% unless options[:skip_yarn] -%> + # Install JavaScript dependencies if using Yarn # system('bin/yarn') -<% end %> +<% end -%> <% unless options.skip_active_record -%> # puts "\n== Copying sample files ==" |