mirror of
https://github.com/tiennm99/ccs.git
synced 2026-09-10 04:19:29 +00:00
fix: address PR #373 review feedback
- postuninstall.js: add file logging for debugging on error - profile-hook-injector.ts: use 'wx' flag for atomic marker creation - profile-hook-injector.ts: include parse error message in debug log - install-command.ts: use actual counts for consistent semantics - Windows tests: align Section 7 with per-profile hook architecture
This commit is contained in:
@@ -39,15 +39,13 @@ export async function handleUninstallCommand(): Promise<void> {
|
||||
const hookRemoved = uninstallWebSearchHook();
|
||||
if (hookRemoved) {
|
||||
console.log(ok('Removed WebSearch hook'));
|
||||
removed++;
|
||||
removed += 1; // Count as 1 item (the hook file)
|
||||
}
|
||||
|
||||
// 2. Remove symlinks from ~/.claude/
|
||||
const symlinkManager = new ClaudeSymlinkManager();
|
||||
const symlinksRemoved = symlinkManager.uninstall();
|
||||
if (symlinksRemoved > 0) {
|
||||
removed++;
|
||||
}
|
||||
removed += symlinksRemoved; // Add actual count of symlinks removed
|
||||
|
||||
// 3. Summary
|
||||
console.log('');
|
||||
|
||||
Reference in New Issue
Block a user