Skip to content

Commit

Permalink
works kinda nicely
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnyBurger committed Jan 1, 2025
1 parent 23dedff commit 8e7c1e8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion packages/ai-improvements/src/improve-docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ for (const api of apis) {

const file = path.join(process.cwd(), '..', '..', api.sourceCodePath);
const sourceContents = await Bun.file(file).text();
console.log(`Article ${api.title} contains source code`);

task === 'generate-jsdoc'
? await generateJSDocTask({
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-improvements/src/tasks/add-jsdoc-comment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const addJsDocComment = ({
);
}

console.log('Added comment', commentWithoutStars);
console.log(documentTitle);
const output = recast.print(ast, {
parser: tsParser,
}).code;
Expand Down
1 change: 0 additions & 1 deletion packages/ai-improvements/src/tasks/generate-jsdoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export const generateJSDocTask = async ({
link,
api,
});
console.log(reply);

const newDocument = addJsDocComment({
documentTitle: title,
Expand Down

0 comments on commit 8e7c1e8

Please sign in to comment.