diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2017-08-01 00:03:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-01 00:03:46 -0400 |
commit | 009131fb58b3a2553270c56576d48b3ac5a643af (patch) | |
tree | 77b48db695efa400ebb48246eda2d4ee112c53ca /railties | |
parent | 34b07505d8b3b5066aeae2337885fbfff24a35bb (diff) | |
parent | c2e3397230615b990c275c789ab313fd00c4004f (diff) | |
download | rails-009131fb58b3a2553270c56576d48b3ac5a643af.tar.gz rails-009131fb58b3a2553270c56576d48b3ac5a643af.tar.bz2 rails-009131fb58b3a2553270c56576d48b3ac5a643af.zip |
Merge pull request #30021 from roberts1000/fix-rubocop-issues
Fix rubocop issues
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/bin/yarn | 2 | ||||
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/spring.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/bin/yarn b/railties/lib/rails/generators/rails/app/templates/bin/yarn index 44f75c22a4..c2f9b6768a 100644 --- a/railties/lib/rails/generators/rails/app/templates/bin/yarn +++ b/railties/lib/rails/generators/rails/app/templates/bin/yarn @@ -1,7 +1,7 @@ VENDOR_PATH = File.expand_path('..', __dir__) Dir.chdir(VENDOR_PATH) do begin - exec "yarnpkg #{ARGV.join(" ")}" + exec "yarnpkg #{ARGV.join(' ')}" rescue Errno::ENOENT $stderr.puts "Yarn executable was not detected in the system." $stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install" diff --git a/railties/lib/rails/generators/rails/app/templates/config/spring.rb b/railties/lib/rails/generators/rails/app/templates/config/spring.rb index c9119b40c0..9fa7863f99 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/spring.rb +++ b/railties/lib/rails/generators/rails/app/templates/config/spring.rb @@ -1,6 +1,6 @@ -%w( +%w[ .ruby-version .rbenv-vars tmp/restart.txt tmp/caching-dev.txt -).each { |path| Spring.watch(path) } +].each { |path| Spring.watch(path) } |