Skip to content

Commit

Permalink
feat: Prettier jsdoc comment formatting, bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
eliassjogreen committed Sep 10, 2024
1 parent de62cdf commit d398e90
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@denosaurs/typefetch",
"version": "0.0.17",
"version": "0.0.18",
"exports": {
".": "./main.ts"
},
"imports": {
"@std/cli": "jsr:@std/cli@^1",
"@std/path": "jsr:@std/path@^1",
"@std/yaml": "jsr:@std/yaml@^0.224",
"@std/http": "jsr:@std/http@^0.224",
"@std/yaml": "jsr:@std/yaml@^1",
"@std/http": "jsr:@std/http@^1",
"openapi-types": "npm:[email protected]",
"ts-morph": "npm:[email protected]"
},
Expand Down
4 changes: 4 additions & 0 deletions mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,10 @@ export function addComponents(
});
}

if (typeof doc.description === "string") {
doc.description = doc.description.trim();
}

return ({
isExported: true,
docs: notEmpty(doc) ? [doc] : [],
Expand Down

0 comments on commit d398e90

Please sign in to comment.