diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-07-08 18:35:10 +0300 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-07-08 18:37:10 +0300 |
commit | c5cee6cb9b25eb4c9e4dedef9eb97cd365065f62 (patch) | |
tree | 91b080e0124e6550d0ad57e270f5b55e6386875c | |
parent | 040eb98c2be6bfb2c50b4ad85e7031f9aa97f15e (diff) | |
download | rails-c5cee6cb9b25eb4c9e4dedef9eb97cd365065f62.tar.gz rails-c5cee6cb9b25eb4c9e4dedef9eb97cd365065f62.tar.bz2 rails-c5cee6cb9b25eb4c9e4dedef9eb97cd365065f62.zip |
Fix rubocop offense introduced in 161ed37
We prefer double quotes over single quotes.
Fixes:
```
railties/lib/rails/commands/server/server_command.rb:279:39:
C: Style/StringLiterals: Prefer double-quoted strings unless you need
single quotes to avoi d extra backslashes for escaping.
original_options.concat [ '-u', using ]
```
Related to 161ed37d7120e1f391eed19e49a3390e53e4fe91
-rw-r--r-- | railties/lib/rails/commands/server/server_command.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/server/server_command.rb b/railties/lib/rails/commands/server/server_command.rb index 194db23f14..9a5d29f77d 100644 --- a/railties/lib/rails/commands/server/server_command.rb +++ b/railties/lib/rails/commands/server/server_command.rb @@ -276,7 +276,7 @@ module Rails option instead. MSG - original_options.concat [ '-u', using ] + original_options.concat [ "-u", using ] else # Use positional internally to get around Thor's immutable options. # TODO: Replace `using` occurences with `options[:using]` after deprecation removal. |