Update thumbnail URL in Litruv Test Plugin configuration to use standardized naming

This commit is contained in:
Max Litruv Boonzaayer
2026-04-19 04:06:05 +10:00
parent c14c2b2f28
commit 9477e8627b

View File

@@ -231,10 +231,6 @@ for (const file of changedFiles) {
try { try {
new URL(plugin.thumbnail); new URL(plugin.thumbnail);
if (!/\/thumbnail\.(png|jpg|gif)$/i.test(plugin.thumbnail)) {
errors.push(`${file}: Thumbnail must be named thumbnail.png, thumbnail.jpg, or thumbnail.gif`);
}
try { try {
const thumbInfo = await validateThumbnail(plugin.thumbnail); const thumbInfo = await validateThumbnail(plugin.thumbnail);
console.log(` ✓ Thumbnail: ${thumbInfo.format} ${thumbInfo.width}x${thumbInfo.height} (${(thumbInfo.size / 1024).toFixed(1)}KB)`); console.log(` ✓ Thumbnail: ${thumbInfo.format} ${thumbInfo.width}x${thumbInfo.height} (${(thumbInfo.size / 1024).toFixed(1)}KB)`);