Commit 1ccf5d7
fix: Only remove default files when Shakapacker pre-exists
Only remove default bin/dev and config/shakapacker.yml files if
Shakapacker is already configured before running the React on Rails
installer. This prevents us from deleting files that we create ourselves
during the installation process.
The logic now:
- IF Shakapacker already configured → remove default conflicting files
- IF Shakapacker NOT configured → we'll install it, don't remove our own files
This fixes the CI failure where shakapacker.yml was being removed after
we created it, causing subsequent steps to fail.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent ff74a0a commit 1ccf5d7
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
0 commit comments