957489457e
Changes: - Calculate lines removed before deleting temp files - Add error handling to line count calculations - Prevent 'No such file or directory' error on line 163 Tested: ✓ Pattern-based removal works correctly ✓ Removes toolkit entries regardless of position ✓ No temp file access errors