Skip to content

Commit 2e9a12b

Browse files
committed
fix typo
1 parent 4fd4745 commit 2e9a12b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/get-all-directive-comments.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function extractCommentContent(text) {
109109
: text.startsWith("<!--") && text.endsWith("-->")
110110
? text.slice(4, -3)
111111
: text.startsWith("###") && text.endsWith("###")
112-
? text.slice(1)
112+
? text.slice(3, -3)
113113
: text.startsWith("#")
114114
? text.slice(1)
115115
: text

0 commit comments

Comments
 (0)