Skip to content

Commit ed38906

Browse files
justin808claude
andcommitted
Fix RuboCop line length violation in react_on_rails.rb
Break build_production_command assignment across two lines to satisfy the 120 character max line length requirement. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent b7a8896 commit ed38906

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/initializers/react_on_rails.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88

99
# Build commands with locale generation
1010
config.build_test_command = "RAILS_ENV=test bin/shakapacker"
11-
config.build_production_command = "bundle exec rake react_on_rails:locale && RAILS_ENV=production NODE_ENV=production bin/shakapacker"
11+
config.build_production_command =
12+
"bundle exec rake react_on_rails:locale && RAILS_ENV=production NODE_ENV=production bin/shakapacker"
1213

1314
# This is the file used for server rendering of React when using `(prerender: true)`
1415
# If you are never using server rendering, you may set this to "".

0 commit comments

Comments
 (0)