Skip to content

Commit e08a2de

Browse files
committed
fix for same warning displaying for all commit log compare results
1 parent 3934bb7 commit e08a2de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/gitCommitCompareApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ async function gitCommitCompare(repoPath, baseCommit, compareCommit) {
4949
};
5050
});
5151

52-
if (diffFileItems && diffFileItems.length > 0) {
52+
if (diffFileItems) {
5353
console.log(diffFileItems);
5454
return diffFileItems;
5555
} else {

0 commit comments

Comments
 (0)