Release v0.9.4: Optimize update fail-safe fallback routing and enforce global skill sync
This commit is contained in:
1 parent
191e67957d
commit
2c1de28a16
9 files changed
+93
-55
No files matched your search
@@ -53,9 +53,6 @@ export function installSkillFiles(targetDir: string = getDefaultGlobalSkillDir()
|
||||
|
||||
export function syncGlobalSkillIfPresent(): { synced: boolean; targetDir?: string } {
|
||||
const globalDir = getDefaultGlobalSkillDir();
|
||||
if (existsSync(globalDir)) {
|
||||
installSkillFiles(globalDir);
|
||||
return { synced: true, targetDir: globalDir };
|
||||
}
|
||||
return { synced: false };
|
||||
installSkillFiles(globalDir);
|
||||
return { synced: true, targetDir: globalDir };
|
||||
}
|
||||
Reference in new issue
Block a user