Skip to content

Commit

Permalink
Let COMMAND_WHITELIST be an Array, not a String
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Mar 16, 2014
1 parent ecebe5e commit e9625d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/rails/commands/commands_tasks.rb
Expand Up @@ -27,7 +27,7 @@ class CommandsTasks # :nodoc:
All commands can be run with -h (or --help) for more information.
EOT

COMMAND_WHITELIST = %(plugin generate destroy console server dbconsole runner new version help)
COMMAND_WHITELIST = %w(plugin generate destroy console server dbconsole runner new version help)

def initialize(argv)
@argv = argv
Expand Down

0 comments on commit e9625d6

Please sign in to comment.