fix: 区分 MDTODO source 与 target freshness
This commit is contained in:
@@ -364,7 +364,7 @@ function probeMdtodoSafeTitleStdin(skillsPath: string): MdtodoSafeTitleStdinProb
|
||||
export function collectMdtodoSafeTitleStdinCapability(sourcePath: string, targetPath: string): MdtodoSafeTitleStdinCapability {
|
||||
const source = probeMdtodoSafeTitleStdin(sourcePath);
|
||||
const target = probeMdtodoSafeTitleStdin(targetPath);
|
||||
const freshness = target.ready
|
||||
const freshness = source.ready && target.ready
|
||||
? "ready"
|
||||
: source.ready
|
||||
? "target-stale"
|
||||
|
||||
Reference in New Issue
Block a user