mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
use appropriate type for rc
option
This fixes the following warning. ``` Expected boolean default value for '--rc'; got "~/.railsrc" (string) ```
This commit is contained in:
parent
a6d065e39f
commit
92dae5dfda
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ module Rails
|
|||
"#{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."
|
||||
|
|
Loading…
Reference in a new issue