From c5cee6cb9b25eb4c9e4dedef9eb97cd365065f62 Mon Sep 17 00:00:00 2001 From: bogdanvlviv Date: Sun, 8 Jul 2018 18:35:10 +0300 Subject: 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 --- railties/lib/rails/commands/server/server_command.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties') 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. -- cgit v1.2.3