Skip to content

Commit 6a924fc

Browse files
justin808claude
andcommitted
Fix shellcheck warning in Playwright workflow
Use env: block for RAILS_ENV instead of inline variable assignment to satisfy shellcheck linting requirements. Changes: - Move RAILS_ENV=test to env: block in Generate React on Rails packs step - Fixes SC2209 shellcheck warning 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 42ef1f4 commit 6a924fc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/playwright.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ jobs:
4040

4141
- name: Generate React on Rails packs
4242
working-directory: spec/dummy
43-
run: RAILS_ENV=test bundle exec rake react_on_rails:generate_packs
43+
env:
44+
RAILS_ENV: test
45+
run: bundle exec rake react_on_rails:generate_packs
4446

4547
- name: Build test assets
4648
working-directory: spec/dummy

0 commit comments

Comments
 (0)