Skip to content

Commit a6d15a7

Browse files
committed
fix(git): log oneline syntax
1 parent 73f6854 commit a6d15a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/git.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const parseCommitSummary = (commit: Commit) => {
3131

3232
export const commits = (): Commit[] => {
3333
return execa
34-
.sync('git', ['log', '--oneline --pretty=hash<%h> ref<%D> message<%s> date<%cd>'])
34+
.sync('git', ['log', '--oneline', '--pretty=hash<%h> ref<%D> message<%s> date<%cd>'])
3535
.stdout.split('\n')
3636
.map(parseLogMessage);
3737
};

0 commit comments

Comments
 (0)