📕 commentLabel.ts

This commit is contained in:
nirholas
2026-03-31 10:23:59 +00:00
parent 09799b4d9b
commit 0e73f9b216

View File

@@ -11,3 +11,4 @@ export function extractBashCommentLabel(command: string): string | undefined {
if (!firstLine.startsWith('#') || firstLine.startsWith('#!')) return undefined
return firstLine.replace(/^#+\s*/, '') || undefined
}