fix: some bugs

This commit is contained in:
Tom Boullay
2026-04-14 16:57:23 +02:00
parent 3a7a5e2eea
commit 110d64ec33
8 changed files with 37 additions and 34 deletions
+4 -1
View File
@@ -26,7 +26,7 @@ export function buildCommitMessage(
const lines: string[] = [title, '']
// Model section — only show if changed or new
// Model section — show status for new, changed, or unchanged
const modelChange = fileChanges.get(modelFilename.toLowerCase())
if (modelChange === 'new') {
lines.push('📦 Model')
@@ -34,6 +34,9 @@ export function buildCommitMessage(
} else if (modelChange === 'changed') {
lines.push('📦 Model')
lines.push(` 🔄 ${modelFilename}${compressed ? ' (compressed)' : ''}`)
} else if (modelChange === 'unchanged') {
lines.push('📦 Model')
lines.push(` ↔️ ${modelFilename} (inchange)`)
}
// Textures section — only show lines that have changes