mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-06-28 20:14:14 +00:00
debug
This commit is contained in:
parent
a9a064dfa1
commit
0ab6d2521f
1 changed files with 174 additions and 171 deletions
|
@ -227,8 +227,11 @@ async function main() {
|
||||||
.map((s) => s.trim());
|
.map((s) => s.trim());
|
||||||
|
|
||||||
const filteredDiff = parsedDiff.filter((file) => {
|
const filteredDiff = parsedDiff.filter((file) => {
|
||||||
return !excludePatterns.some((pattern) =>
|
return !excludePatterns.some((pattern) => {
|
||||||
minimatch(file.to ?? "", pattern)
|
let isMatch = minimatch(file.to ?? "", pattern);
|
||||||
|
console.log(file+","+file.to+","+pattern+": "+isMatch)
|
||||||
|
return isMatch
|
||||||
|
}
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue