Skip to content

Commit 75b1694

Browse files
authored
allow-list hero images for the orphaned files deletions (#57926)
1 parent 37a2754 commit 75b1694

File tree

6 files changed

+7
-0
lines changed

6 files changed

+7
-0
lines changed
212 KB
Loading
167 KB
Loading
196 KB
Loading
207 KB
Loading
198 KB
Loading

src/assets/scripts/find-orphaned-assets.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ const EXCEPTIONS = new Set([
4848
'assets/images/social-cards/default.png',
4949
'assets/images/social-cards/issues.png',
5050
'assets/images/social-cards/code-security.png',
51+
// Hero images may not be used, but we keep them around for future use
52+
'assets/images/banner-images/hero-1.png',
53+
'assets/images/banner-images/hero-2.png',
54+
'assets/images/banner-images/hero-3.png',
55+
'assets/images/banner-images/hero-4.png',
56+
'assets/images/banner-images/hero-5.png',
57+
'assets/images/banner-images/hero-6.png',
5158
])
5259

5360
function isExceptionPath(imagePath: string) {

0 commit comments

Comments
 (0)