fix: apply watch path negations as a pattern set

This commit is contained in:
Lucas Manchine
2026-08-28 14:43:18 -03:00
parent 5b6a8bd1ef
commit abc2439ec4
2 changed files with 25 additions and 1 deletions
@@ -8,5 +8,5 @@ export const shouldDeploy = (
const files = (modifiedFiles ?? []).filter(
(file): file is string => typeof file === "string",
);
return micromatch.some(files, watchPaths);
return micromatch(files, watchPaths).length > 0;
};