mirror of
https://github.com/MatesMediaDev/JollyRipper-PluginsDirectory.git
synced 2026-05-30 00:11:25 +00:00
Update thumbnail URL in Litruv Test Plugin configuration to use standardized naming
This commit is contained in:
4
.github/scripts/validate-pr.js
vendored
4
.github/scripts/validate-pr.js
vendored
@@ -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)`);
|
||||||
|
|||||||
Reference in New Issue
Block a user