Skip to content

Commit 98d5b1c

Browse files
authored
chore: Add newlines to test URL section in PR description
1 parent 2568dc3 commit 98d5b1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/github/preview-url-pr-description.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ async function previewUrlPrDescription({ github, context }) {
1818
repo,
1919
pull_number: pullNumber
2020
});
21-
const urlSectionStart = '\n<!-- DBUX-TEST-URL-START -->';
21+
const urlSectionStart = '\n<!-- DBUX-TEST-URL-START -->\n';
2222
const urlSectionEnd = '\n<!-- DBUX-TEST-URL-END -->';
23-
const testUrl = `🔭🐙🐈 Test this branch here: <https://${owner}.github.io/${repo}/review/${headRef}>`;
23+
const testUrl = `\n🔭🐙🐈 Test this branch here: <https://${owner}.github.io/${repo}/review/${headRef}>\n`;
2424
let body = pr.data.body || '';
2525
// Remove any existing test URL section
2626
const startIdx = body.indexOf(urlSectionStart);

0 commit comments

Comments
 (0)