chore: datas are ok and sync also

This commit is contained in:
Julien Froidefond
2025-08-27 12:18:40 +02:00
parent aee5d74445
commit 88dc00a44b
11 changed files with 385 additions and 211 deletions

View File

@@ -85,6 +85,7 @@ async function syncSkillsToDatabase(): Promise<void> {
const needsUpdate = existingSkill
? existingSkill.description !== skillFromFile.description ||
existingSkill.icon !== skillFromFile.icon ||
existingSkill.importance !== skillFromFile.importance ||
JSON.stringify(existingSkill.links?.sort()) !==
JSON.stringify(skillFromFile.links?.sort())
: true;