Skip to content

Commit f9b1ede

Browse files
committed
chore: gitArgs add --no-merges
1 parent cdbb16b commit f9b1ede

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node/contributor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export async function getContributors(filePath?: string, options?: GitLogOptions
99
const { contributor } = options || {}
1010

1111
try {
12-
const gitArgs: string[] = ['log', '--pretty=format:"%an|%ae"']
12+
const gitArgs: string[] = ['log', '--no-merges', '--pretty=format:"%an|%ae"']
1313

1414
const additionalArgs: string[] = [
1515
filePath && `--`,

0 commit comments

Comments
 (0)