Commit 2a78c8a
fix: Check Shakapacker status before installation, remove files after
Move the Shakapacker pre-configuration check to BEFORE invoking
generators, but keep the file removal logic BEFORE generators run.
The correct sequence is now:
1. Check if Shakapacker is configured (save as boolean)
2. If pre-configured, remove default conflicting files
3. Invoke generators (which may install Shakapacker)
4. Continue installation
This prevents removing files we create ourselves while still removing
conflicting default files when Shakapacker was installed beforehand.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 1ccf5d7 commit 2a78c8a
1 file changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
44 | 49 | | |
45 | 50 | | |
46 | 51 | | |
| |||
0 commit comments