fix: some bugs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user