From eeacb94a06cbbc5a01846b813004971074c99ae3 Mon Sep 17 00:00:00 2001 From: Josh Gross Date: Thu, 26 Sep 2024 17:18:19 -0400 Subject: [PATCH] Adjust handle spacing --- dist/index.js | 2 +- guestbook.md | 1 - src/book.ts | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dist/index.js b/dist/index.js index 73357ca..b27b736 100644 --- a/dist/index.js +++ b/dist/index.js @@ -29170,7 +29170,7 @@ function commentToMarkdown(comment) { .map(line => `> ${line}`) .join("\n"); const handleLink = `[@${comment.user}](https://github.com/${comment.user})`; - return `${quotedComment}\n\n-${handleLink}`; + return `${quotedComment}\n-${handleLink}`; } function createGuestbookList(comments) { return comments.map(commentToMarkdown).join("\n\n"); diff --git a/guestbook.md b/guestbook.md index 0d537d8..ace0a3f 100644 --- a/guestbook.md +++ b/guestbook.md @@ -4,6 +4,5 @@ This guestbook is populated by approved :+1: comments in https://github.com/josh > Hello, this is an informative and useful comment illustrating my thoughts. 🧀 - -[@joshmgross](https://github.com/joshmgross) \ No newline at end of file diff --git a/src/book.ts b/src/book.ts index 04c24e9..a4d87da 100644 --- a/src/book.ts +++ b/src/book.ts @@ -22,7 +22,7 @@ function commentToMarkdown(comment: Comment): string { const handleLink = `[@${comment.user}](https://github.com/${comment.user})`; - return `${quotedComment}\n\n-${handleLink}`; + return `${quotedComment}\n-${handleLink}`; } function createGuestbookList(comments: Comment[]): string {