We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9477153 commit c338c7fCopy full SHA for c338c7f
src/core/application/rebase.ts
@@ -184,7 +184,7 @@ function extractConflictingFiles(errorMessage: string): string[] {
184
185
// "CONFLICT (content|add/add): Merge conflict in <path>"
186
const mergeConflictMatch = line.match(/Merge conflict in (.+)$/);
187
- if (mergeConflictMatch) {
+ if (mergeConflictMatch?.[1]) {
188
files.push(mergeConflictMatch[1].trim());
189
continue;
190
}
0 commit comments