Commit 095ce7d
Fix CI test failures by skipping hooks.json special file
The nextjs-15 configuration contains a hooks.json file which is a special
configuration file for defining hooks, not a regular hook script. The generator
was incorrectly trying to write it as a regular file, causing ENOENT errors
in CI tests.
This fix adds logic to skip hooks.json when processing hooks, preventing
the directory creation failures that were causing tests to fail in CI.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 5a72e93 commit 095ce7d
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
171 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
172 | 178 | | |
173 | 179 | | |
174 | 180 | | |
| |||
177 | 183 | | |
178 | 184 | | |
179 | 185 | | |
| 186 | + | |
180 | 187 | | |
181 | | - | |
| 188 | + | |
182 | 189 | | |
183 | 190 | | |
184 | 191 | | |
| |||
0 commit comments