Skip to content

Commit

Permalink
chore: empty string test
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4007 committed Oct 8, 2024
1 parent 629f351 commit 6f16e90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/empty-string-checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 6f16e90

Please sign in to comment.