mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-10-23 00:45:36 +00:00
fix: apply watch path negations as a pattern set
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user