From 9e2370b435f6a17eb6f53380fa5cf91e6c5fa198 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 08:59:00 +0900 Subject: [PATCH] chore: formatting --- .github/empty-string-checker.ts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/empty-string-checker.ts b/.github/empty-string-checker.ts index c7e9c3b..ff94e81 100644 --- a/.github/empty-string-checker.ts +++ b/.github/empty-string-checker.ts @@ -35,10 +35,13 @@ async function main() { if (violations.length > 0) { violations.forEach(({ file, line, content }) => { - core.warning("⚠️ EMPTY STRING DETECTED ⚠️", { - file, - startLine: line, - }); + core.warning( + "Detected an empty string.\n\nIf this is during variable initialization, consider using a different approach.\nFor more information, visit: https://www.github.com/ubiquity/ts-template/issues/31", + { + file, + startLine: line, + } + ); }); // core.setFailed(`${violations.length} empty string${violations.length > 1 ? "s" : ""} detected in the code.`);