From 6f16e905ed4bc1542772ae3775d84ae166f17c8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=A2=E3=83=AC=E3=82=AF=E3=82=B5=E3=83=B3=E3=83=80?= =?UTF-8?q?=E3=83=BC=2Eeth?= Date: Wed, 9 Oct 2024 07:19:39 +0900 Subject: [PATCH] chore: empty string test --- .github/empty-string-checker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/empty-string-checker.ts b/.github/empty-string-checker.ts index 61c4d26..066f061 100644 --- a/.github/empty-string-checker.ts +++ b/.github/empty-string-checker.ts @@ -83,7 +83,7 @@ async function createReview(violations: Array<{ file: string; line: number; cont const reviewComments = violations.map((v) => ({ path: v.file, line: v.line, - body: `Warning: Empty string found.\n\`\`\`\n${v.content}\n\`\`\``, + body: `> [!WARNING]\n> Empty string found, consider another approach. [Read more](https://github.com/ubiquity/ts-template/issues/31).`, })); await octokit.pulls.createReview({