Skip to content

Commit

Permalink
Skip merge commits
Browse files Browse the repository at this point in the history
  • Loading branch information
AvrAlexandra committed Nov 14, 2024
1 parent 5a22ff3 commit c6c4693
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/commands/history/history.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ export async function analyseHistory(folders: string[], options: AnalyseOptions,
continue;
}
for (const commit of commits) {
await processCommitForPlugins(commit, folder, selectedPlugins, commitProjectsMap);
if(commit.commit.parent.length < 2) { // Skip merge commits
await processCommitForPlugins(commit, folder, selectedPlugins, commitProjectsMap);
}
}
}

Expand Down

0 comments on commit c6c4693

Please sign in to comment.