fix: git diff to respect excluded files (#181)
This commit is contained in:
@@ -44,6 +44,11 @@ export const getStagedDiff = async (excludeFiles?: string[]) => {
|
|||||||
[
|
[
|
||||||
...diffCached,
|
...diffCached,
|
||||||
...filesToExclude,
|
...filesToExclude,
|
||||||
|
...(
|
||||||
|
excludeFiles
|
||||||
|
? excludeFiles.map(excludeFromDiff)
|
||||||
|
: []
|
||||||
|
),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user