Skip to content

Commit 8eaaba9

Browse files
committed
fix: fix auto updated message
1 parent 36ce791 commit 8eaaba9

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ Made by [@pi0](https://github.com/pi0) and [community](https://github.com/unjs/a
4242

4343
<!-- /automd -->
4444

45-
<!-- automd:with-automd separator -->
45+
<!-- automd:with-automd -->
4646

4747
---
4848

49-
_πŸ€– docs are auto updated with [automd](https:/automd.unjs.io) (last updated: Tue Feb 20 2024)_
49+
_πŸ€– auto updated with [automd](https://automd.unjs.io) (last updated: Tue Feb 20 2024)_
5050

5151
<!-- /automd -->

β€Ždocs/2.generators/with-automd.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The `with-automd` generator generates a benner that notifies docs are updated wi
1616
<!-- automd:with-automd lastUpdate="now" -->
1717

1818
---
19-
_πŸ€– docs are auto updated with [automd](https:/automd.unjs.io) (last updated: now)_
19+
_πŸ€– auto updated with [automd](https://automd.unjs.io) (last updated: now)_
2020

2121
<!-- /automd -->
2222

β€Žsrc/generators/with-automd.tsβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ export const withAutomd = defineGenerator({
1313
const lines: string[] = [];
1414

1515
if (args.separator !== false) {
16-
lines.push("---");
16+
lines.push("---", "");
1717
}
1818

1919
lines.push(
20-
`_${emoji}docs are auto updated with [automd](https:/automd.unjs.io)${lastUpdate}_`,
20+
`_${emoji}auto updated with [automd](https://automd.unjs.io)${lastUpdate}_`,
2121
);
2222

2323
return {

β€Žtest/fixture/OUTPUT.mdβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ import { foo, bar } from "https://esm.sh/pkg";
104104
<!-- automd:with-automd -->
105105

106106
---
107-
_πŸ€– docs are auto updated with [automd](https:/automd.unjs.io) (last updated: Tue Feb 20 2024)_
107+
108+
_πŸ€– auto updated with [automd](https://automd.unjs.io) (last updated: Tue Feb 20 2024)_
108109

109110
<!-- /automd -->
110111

β€Žtest/transform.test.tsβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ describe("transform", () => {
9191
<!-- automd:with-automd lastUpdate=now -->
9292
9393
---
94-
_πŸ€– docs are auto updated with [automd](https:/automd.unjs.io) (last updated: now)_
94+
95+
_πŸ€– auto updated with [automd](https://automd.unjs.io) (last updated: now)_
9596
9697
<!-- /automd -->
9798
c

0 commit comments

Comments
Β (0)