提交 f7ae6e1c 编写于 作者: A Aaron Patterson

no need to dup, argv is never mutated

上级 960dd860
......@@ -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!
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册