We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bce213 commit f7213cbCopy full SHA for f7213cb
dev-infra/caretaker/check/g3.ts
@@ -119,6 +119,6 @@ export async function printG3Comparison(git: GitClient) {
119
/** Determine whether the file name passes both include and exclude checks. */
120
function checkMatchAgainstIncludeAndExclude(
121
file: string, includes: string[], excludes: string[]) {
122
- return multimatch(multimatch(file, includes), excludes, {flipNegate: true}).length !== 0;
+ return multimatch(file, includes).length >= 1 && multimatch(file, excludes).length === 0;
123
}
124
0 commit comments