Skip to content

Commit 521030e

Browse files
authored
Merge pull request rails#52913 from koic/suppresss_rubocop_offense_after_rails_new_devcontainer
Suppress a RuboCop offense after running `rails new` with `--devcontainer`
2 parents 79f34b9 + 561f0fd commit 521030e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

railties/lib/rails/generators/rails/devcontainer/devcontainer_generator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def local_rails_mount
150150
end
151151

152152
def system_test_configuration
153-
optimize_indentation(<<-'RUBY', 2)
153+
optimize_indentation(<<-'RUBY', 2).chomp
154154
if ENV["CAPYBARA_SERVER_PORT"]
155155
served_by host: "rails-app", port: ENV["CAPYBARA_SERVER_PORT"]
156156

0 commit comments

Comments
 (0)