Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

Commit 28dcf08

Browse files
chore: tweaks
1 parent 03162b3 commit 28dcf08

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utils/command.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,13 @@ export const getGitDiff = async(logger: Logger, context: Context): Promise<Array
8888
const workspace = getWorkspace();
8989
const patterns = getPatterns();
9090
const options = getMatchOptions();
91+
const filter = getFilter();
9192

9293
return (await Utils.split((await command.execAsync({
9394
command: 'git diff',
9495
args: [
9596
`${getCompareRef(diffInfo.base)}${dot}${getCompareRef(diffInfo.head)}`,
96-
'--diff-filter=' + getFilter(),
97+
`--diff-filter=${filter}`,
9798
'--name-only',
9899
],
99100
cwd: Utils.getWorkspace(),

0 commit comments

Comments
 (0)