We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f73bd8 commit fcf0548Copy full SHA for fcf0548
src/check-dependency-bumps.ts
@@ -82,7 +82,14 @@ async function parseDiff(
82
const match = line.match(/b\/(.+)/u);
83
84
if (match) {
85
- currentFile = match[1];
+ const newFile = match[1];
86
+
87
+ // Reset section state when switching to a new file
88
+ if (newFile !== currentFile) {
89
+ currentSection = null;
90
+ }
91
92
+ currentFile = newFile;
93
}
94
95
0 commit comments