1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2025-10-30 23:07:47 +02:00

Fix slug field in add-icon-data script (#13695)

This commit is contained in:
LitoMore
2025-08-09 21:58:15 +08:00
committed by GitHub
parent e6c2be366e
commit b5fa709a62

View File

@@ -111,11 +111,11 @@ const previewHexColor = (input) => {
};
/** @type {IconData} */
// @ts-expect-error: `slug` is not required in our source simple-icons.json file.
const answers = {
title: '',
hex: '',
source: '',
slug: '',
};
answers.title = await input({