We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20bfbe0 commit 31ce095Copy full SHA for 31ce095
packages/mcp-server/scripts/generate-summaries.ts
@@ -87,17 +87,10 @@ async function fetch_section_content(url: string) {
87
return await response.text();
88
}
89
90
-async function file_exists(filepath: string): Promise<boolean> {
+async function load_existing_summaries(output_path: string): Promise<SummaryData | null> {
91
try {
92
- await access(filepath);
93
- return true;
+ await access(output_path);
94
} catch {
95
- return false;
96
- }
97
-}
98
-
99
-async function load_existing_summaries(output_path: string): Promise<SummaryData | null> {
100
- if (!(await file_exists(output_path))) {
101
return null;
102
103
0 commit comments