Skip to content

Commit 7259a71

Browse files
committed
fix(jsdocs): trim last line
1 parent c79b0e6 commit 7259a71

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

docs/2.generators/jsdocs.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ Internally it uses [untyped](https://untyped.unjs.io/) and [jiti](https://github
2727
add(1, 2); // 3
2828
```
2929

30-
3130
<!-- /automd -->
3231

3332
<!-- /automd -->

docs/2.generators/pm-install.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ The `pm-install` or `pm-i` generator generates installation commands for several
1919
# ✨ Auto-detect
2020
npx nypm i -D package-name
2121

22-
# ✨ Auto-detect
23-
npx nypm i -D package-name
24-
2522
# npm
2623
npm install -D package-name
2724

src/generators/jsdocs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ function renderSchema(
123123
}
124124
}
125125

126-
return lines.join("\n");
126+
return lines.join("\n").trim();
127127
}
128128

129129
function parseTags(lines: string[] = []) {

0 commit comments

Comments
 (0)