✨ 📕 commentLabel.ts
This commit is contained in:
@@ -11,3 +11,4 @@ export function extractBashCommentLabel(command: string): string | undefined {
|
||||
if (!firstLine.startsWith('#') || firstLine.startsWith('#!')) return undefined
|
||||
return firstLine.replace(/^#+\s*/, '') || undefined
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user