diff --git a/lib/core.js b/lib/core.js index 4f017da..bf9e33c 100644 --- a/lib/core.js +++ b/lib/core.js @@ -3257,7 +3257,7 @@ function flattenTargetPaths(files) { return out; } -/** 用户配置层:官方允许在 profiles/*/cordis.patch.yml 手写 insert,绝不能进 bak/回滚(#43)。 */ +/** 用户配置层:官方允许在 profiles//cordis.patch.yml 手写 insert,绝不能进 bak/回滚(#43)。 */ export function isUserProfilePatchFile(fp) { const n = String(fp || "").replace(/\\/g, "/").toLowerCase(); return /\/profiles\/[^/]+\/cordis\.patch\.yml$/i.test(n);