Commit ff9cc79
Fix CI failures by restoring packer availability check
- Restores using_packer? check to handle test scenarios where packer is disabled
- Combines manifest.json check with packer availability in cleaner conditional
- Reverts one inline Packer assignment that breaks when Shakapacker isn't loaded
- Maintains original functionality while keeping code improvements
All failing tests now pass:
- webpack_assets_status_checker_spec.rb (all scenarios)
- utils_spec.rb "without a packer enabled" scenarios
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent 40dd365 commit ff9cc79
File tree
2 files changed
+2
-2
lines changed- lib/react_on_rails
- spec/react_on_rails/test_helper
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
0 commit comments