Skip to content

Commit 49d044f

Browse files
committed
fix: diff num
1 parent a83b5e1 commit 49d044f

File tree

1 file changed

+1
-1
lines changed
  • packages/core/src/core/diff-viewer/internal

1 file changed

+1
-1
lines changed

packages/core/src/core/diff-viewer/internal/base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ export class DiffViewerContribution implements CommandContribution, ClientAppCon
271271

272272
if (e?.uri) {
273273
const diffInfo = getDiffInfoForUri(e.uri);
274-
event.diffNum = diffInfo.total - diffInfo.unresolved;
274+
event.diffNum = diffInfo.unresolved;
275275
}
276276

277277
this._onDidTabChange.fire(event);

0 commit comments

Comments
 (0)