Repository navigation
Commit 8fc718b
test(scripts): refuse existing repo-root icon entries without following symlinks
The empty-target test checked each repo-root icon with fs.exists, which
follows symlinks. A dangling favicon.ico link read as absent, copyFile
wrote its referent outside the checkout, and the finalizer removed the
link. Read the repo-root directory listing instead, compare names
case-insensitively, and name the path in the failure message.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent c91d12f commit 8fc718b
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
39 | 44 | | |
40 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
41 | 49 | | |
42 | 50 | | |
43 | 51 | | |
| |||
0 commit comments