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.`);