提交 92dae5df 编写于 作者: Y yuuji.yaginuma

use appropriate type for `rc` option

This fixes the following warning.

```
Expected boolean default value for '--rc'; got "~/.railsrc" (string)
```
上级 a6d065e3
......@@ -11,7 +11,7 @@ def self.banner(*) # :nodoc:
"#{executable} new [options]"
end
class_option :rc, type: :boolean, default: File.join("~", ".railsrc"),
class_option :rc, type: :string, default: File.join("~", ".railsrc"),
desc: "Initialize the plugin command with previous defaults. Uses .railsrc in your home directory by default."
class_option :no_rc, desc: "Skip evaluating .railsrc."
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册