Skip to content

Commit e674ff1

Browse files
committed
Fix: linting errors on script.
1 parent 5562921 commit e674ff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/enhance-post.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ async function analyzeWithOpenAI({ apiKey, model, title, content }) {
338338
// Try Responses API first, then fall back to Chat Completions
339339
try {
340340
return await callOpenAIResponses({ apiKey, model, title, content });
341-
} catch (err) {
341+
} catch (_err) {
342342
// console.warn('Responses API failed, falling back to Chat:', err?.message || err);
343343
return await callOpenAIChat({ apiKey, model, title, content });
344344
}

0 commit comments

Comments
 (0)