diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2013-10-30 16:47:51 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2013-10-30 16:47:51 -0700 |
commit | f7ae6e1cd650134a3a72362b756b65dffb68c453 (patch) | |
tree | 298798af99fb1a666c4b5c6af8c39d4bb541a611 /railties | |
parent | 960dd860242048fbb3c637307588000c38c5272c (diff) | |
download | rails-f7ae6e1cd650134a3a72362b756b65dffb68c453.tar.gz rails-f7ae6e1cd650134a3a72362b756b65dffb68c453.tar.bz2 rails-f7ae6e1cd650134a3a72362b756b65dffb68c453.zip |
no need to dup, argv is never mutated
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/app/app_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/app_generator.rb b/railties/lib/rails/generators/rails/app/app_generator.rb index 9d4e54ab00..20bbd0e073 100644 --- a/railties/lib/rails/generators/rails/app/app_generator.rb +++ b/railties/lib/rails/generators/rails/app/app_generator.rb @@ -313,7 +313,7 @@ module Rails # since it configures and mutates ARGV correctly. class ARGVScrubber # :nodoc def initialize(argv = ARGV) - @argv = argv.dup + @argv = argv end def prepare! |