Skip to content

Commit b813faa

Browse files
committed
Add debug logging for update grouping
1 parent 589b0e0 commit b813faa

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/buddy.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,16 @@ export class Buddy {
194194
// Update package.json with new versions
195195
const packageJsonUpdates = await this.generateAllFileUpdates(group.updates)
196196

197+
// Debug logging to understand what files are being processed
198+
console.log(`🐛 DEBUG: Processing group "${group.name}" with ${group.updates.length} updates:`)
199+
group.updates.forEach(update => {
200+
console.log(`🐛 - ${update.name}: ${update.currentVersion} -> ${update.newVersion} (${update.file}, ${update.updateType})`)
201+
})
202+
console.log(`🐛 DEBUG: Generated ${packageJsonUpdates.length} file updates:`)
203+
packageJsonUpdates.forEach(fileUpdate => {
204+
console.log(`🐛 - File: ${fileUpdate.path}`)
205+
})
206+
197207
// Commit changes
198208
await gitProvider.commitChanges(branchName, group.title, packageJsonUpdates)
199209

0 commit comments

Comments
 (0)