Permalink
Browse files

no need to dup, argv is never mutated

  • Loading branch information...
tenderlove committed Oct 30, 2013
1 parent 960dd86 commit f7ae6e1cd650134a3a72362b756b65dffb68c453
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/generators/rails/app/app_generator.rb
@@ -313,7 +313,7 @@ def get_builder_class
# since it configures and mutates ARGV correctly.
class ARGVScrubber # :nodoc
def initialize(argv = ARGV)
- @argv = argv.dup
+ @argv = argv
end
def prepare!

0 comments on commit f7ae6e1

Please sign in to comment.