Skip to content

Commit ccb001e

Browse files
authored
fix: git shortlog command fails on windows with single quotes in parameter values gf-612 (#613)
1 parent 42e608e commit ccb001e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/analytics/src/libs/modules/git-service/base-git-service.module.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ class BaseGITService implements GITService {
66
};
77

88
public getShortLogCommand = (): string => {
9-
return "git shortlog -sne --all --no-merges --group='%cs %cn <%ce>' --since='1 week ago'";
9+
// eslint-disable-next-line quotes
10+
return 'git shortlog -sne --all --no-merges --group="%cs %cn <%ce>" --since="1 week ago"';
1011
};
1112
}
1213

0 commit comments

Comments
 (0)