Skip to content

Commit 0d4340c

Browse files
committed
fix: git shortlog command fails on windows with single quotes in parameter values gf-612
1 parent 42e608e commit 0d4340c

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

+2-1
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)