Skip to content

Commit

Permalink
Update dangerFileContent.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Janpot committed Jan 21, 2025
1 parent ae7aa8d commit cb9534f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dangerFileContent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ async function addDeployPreviewUrls() {
async function formatMdLinkWithQrCode(path: string) {
const url = String(formatFileToLink(path));
const qr = `${netlifyPreview}edge-functions/qr-code?text=${encodeURIComponent(url)}`;
return `<details><summary><a href="${url}">${path}</a></summary><img src="${qr}" alt="QR code" /></details>`;
return `<details><summary>page <a href="${url}">${path}</a></summary><img src="${qr}" alt="QR code" /></details>`;
}

const files = [...danger.git.created_files, ...danger.git.modified_files];
Expand Down

0 comments on commit cb9534f

Please sign in to comment.